Changeset 388 for python/vendor/current/Lib/opcode.py
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Lib/opcode.py
r2 r388 59 59 def_op('UNARY_INVERT', 15) 60 60 61 def_op('LIST_APPEND', 18)62 61 def_op('BINARY_POWER', 19) 63 62 def_op('BINARY_MULTIPLY', 20) … … 129 128 def_op('UNPACK_SEQUENCE', 92) # Number of tuple items 130 129 jrel_op('FOR_ITER', 93) 131 130 def_op('LIST_APPEND', 94) 132 131 name_op('STORE_ATTR', 95) # Index in name list 133 132 name_op('DELETE_ATTR', 96) # "" … … 140 139 def_op('BUILD_TUPLE', 102) # Number of tuple items 141 140 def_op('BUILD_LIST', 103) # Number of list items 142 def_op('BUILD_ MAP', 104) # Number of dict entries (upto 255)143 name_op('LOAD_ATTR', 105) # Index in name list 144 def_op('COMPARE_OP', 106) # Comparison operator 145 hascompare.append(106) 146 name_op('IMPORT_NAME', 107) # Index in name list 147 name_op('IMPORT_ FROM', 108) # Index in name list148 141 def_op('BUILD_SET', 104) # Number of set items 142 def_op('BUILD_MAP', 105) # Number of dict entries (upto 255) 143 name_op('LOAD_ATTR', 106) # Index in name list 144 def_op('COMPARE_OP', 107) # Comparison operator 145 hascompare.append(107) 146 name_op('IMPORT_NAME', 108) # Index in name list 147 name_op('IMPORT_FROM', 109) # Index in name list 149 148 jrel_op('JUMP_FORWARD', 110) # Number of bytes to skip 150 jrel_op('JUMP_IF_FALSE', 111) # "" 151 jrel_op('JUMP_IF_TRUE', 112) # "" 152 jabs_op('JUMP_ABSOLUTE', 113) # Target byte offset from beginning of code 149 jabs_op('JUMP_IF_FALSE_OR_POP', 111) # Target byte offset from beginning of code 150 jabs_op('JUMP_IF_TRUE_OR_POP', 112) # "" 151 jabs_op('JUMP_ABSOLUTE', 113) # "" 152 jabs_op('POP_JUMP_IF_FALSE', 114) # "" 153 jabs_op('POP_JUMP_IF_TRUE', 115) # "" 153 154 154 155 name_op('LOAD_GLOBAL', 116) # Index in name list … … 181 182 def_op('CALL_FUNCTION_KW', 141) # #args + (#kwargs << 8) 182 183 def_op('CALL_FUNCTION_VAR_KW', 142) # #args + (#kwargs << 8) 183 def_op('EXTENDED_ARG', 143) 184 EXTENDED_ARG = 143 184 185 jrel_op('SETUP_WITH', 143) 186 187 def_op('EXTENDED_ARG', 145) 188 EXTENDED_ARG = 145 189 def_op('SET_ADD', 146) 190 def_op('MAP_ADD', 147) 185 191 186 192 del def_op, name_op, jrel_op, jabs_op
Note:
See TracChangeset
for help on using the changeset viewer.