Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a920359e
Commit
a920359e
authored
Jul 07, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of some obsolete opcodes.
parent
af854a59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
Include/opcode.h
Include/opcode.h
+0
-5
Lib/dis.py
Lib/dis.py
+0
-5
No files found.
Include/opcode.h
View file @
a920359e
...
...
@@ -99,12 +99,10 @@ PERFORMANCE OF THIS SOFTWARE.
#define DELETE_NAME 91
/* "" */
#define UNPACK_TUPLE 92
/* Number of tuple items */
#define UNPACK_LIST 93
/* Number of list items */
#define UNPACK_ARG 94
/* Number of arguments */
#define STORE_ATTR 95
/* Index in name list */
#define DELETE_ATTR 96
/* "" */
#define STORE_GLOBAL 97
/* "" */
#define DELETE_GLOBAL 98
/* "" */
#define UNPACK_VARARG 99
/* Minimal number of arguments */
#define LOAD_CONST 100
/* Index in const list */
#define LOAD_NAME 101
/* Index in name list */
...
...
@@ -122,11 +120,8 @@ PERFORMANCE OF THIS SOFTWARE.
#define JUMP_ABSOLUTE 113
/* Target byte offset from beginning of code */
#define FOR_LOOP 114
/* Number of bytes to skip */
#define LOAD_LOCAL 115
/* Index in name list */
#define LOAD_GLOBAL 116
/* Index in name list */
#define SET_FUNC_ARGS 117
/* Argcount */
#define SETUP_LOOP 120
/* Target address (absolute) */
#define SETUP_EXCEPT 121
/* "" */
#define SETUP_FINALLY 122
/* "" */
...
...
Lib/dis.py
View file @
a920359e
...
...
@@ -208,12 +208,10 @@ name_op('STORE_NAME', 90) # Index in name list
name_op
(
'DELETE_NAME'
,
91
)
# ""
def_op
(
'UNPACK_TUPLE'
,
92
)
# Number of tuple items
def_op
(
'UNPACK_LIST'
,
93
)
# Number of list items
def_op
(
'UNPACK_ARG'
,
94
)
# Number of arguments expected
name_op
(
'STORE_ATTR'
,
95
)
# Index in name list
name_op
(
'DELETE_ATTR'
,
96
)
# ""
name_op
(
'STORE_GLOBAL'
,
97
)
# ""
name_op
(
'DELETE_GLOBAL'
,
98
)
# ""
name_op
(
'UNPACK_VARARG'
,
99
)
# Minimal number of arguments
def_op
(
'LOAD_CONST'
,
100
)
# Index in const list
hasconst
.
append
(
100
)
...
...
@@ -233,11 +231,8 @@ jrel_op('JUMP_IF_TRUE', 112) # ""
jabs_op
(
'JUMP_ABSOLUTE'
,
113
)
# Target byte offset from beginning of code
jrel_op
(
'FOR_LOOP'
,
114
)
# Number of bytes to skip
name_op
(
'LOAD_LOCAL'
,
115
)
# Index in name list
name_op
(
'LOAD_GLOBAL'
,
116
)
# Index in name list
def_op
(
'SET_FUNC_ARGS'
,
117
)
# Argcount
jrel_op
(
'SETUP_LOOP'
,
120
)
# Distance to target address
jrel_op
(
'SETUP_EXCEPT'
,
121
)
# ""
jrel_op
(
'SETUP_FINALLY'
,
122
)
# ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment