@@ -139,17 +139,17 @@ def jabs_op(name, op):
139139def_op ('UNARY_NEGATIVE' , 11 )
140140def_op ('UNARY_NOT' , 12 )
141141def_op ('UNARY_CONVERT' , 13 )
142- def_op ( 'UNARY_CALL' , 14 )
142+
143143def_op ('UNARY_INVERT' , 15 )
144144
145145def_op ('BINARY_POWER' , 19 )
146+
146147def_op ('BINARY_MULTIPLY' , 20 )
147148def_op ('BINARY_DIVIDE' , 21 )
148149def_op ('BINARY_MODULO' , 22 )
149150def_op ('BINARY_ADD' , 23 )
150151def_op ('BINARY_SUBTRACT' , 24 )
151152def_op ('BINARY_SUBSCR' , 25 )
152- def_op ('BINARY_CALL' , 26 )
153153
154154def_op ('SLICE+0' , 30 )
155155def_op ('SLICE+1' , 31 )
@@ -168,6 +168,7 @@ def jabs_op(name, op):
168168
169169def_op ('STORE_SUBSCR' , 60 )
170170def_op ('DELETE_SUBSCR' , 61 )
171+
171172def_op ('BINARY_LSHIFT' , 62 )
172173def_op ('BINARY_RSHIFT' , 63 )
173174def_op ('BINARY_AND' , 64 )
@@ -179,11 +180,12 @@ def jabs_op(name, op):
179180def_op ('PRINT_NEWLINE' , 72 )
180181
181182def_op ('BREAK_LOOP' , 80 )
182- def_op ( 'RAISE_EXCEPTION' , 81 )
183+
183184def_op ('LOAD_LOCALS' , 82 )
184185def_op ('RETURN_VALUE' , 83 )
186+
185187def_op ('EXEC_STMT' , 85 )
186- def_op ( 'BUILD_FUNCTION' , 86 )
188+
187189def_op ('POP_BLOCK' , 87 )
188190def_op ('END_FINALLY' , 88 )
189191def_op ('BUILD_CLASS' , 89 )
@@ -204,12 +206,12 @@ def jabs_op(name, op):
204206def_op ('LOAD_CONST' , 100 ) # Index in const list
205207hasconst .append (100 )
206208name_op ('LOAD_NAME' , 101 ) # Index in name list
207- hascompare .append (106 )
208209def_op ('BUILD_TUPLE' , 102 ) # Number of tuple items
209210def_op ('BUILD_LIST' , 103 ) # Number of list items
210211def_op ('BUILD_MAP' , 104 ) # Always zero for now
211212name_op ('LOAD_ATTR' , 105 ) # Index in name list
212213def_op ('COMPARE_OP' , 106 ) # Comparison operator
214+ hascompare .append (106 )
213215name_op ('IMPORT_NAME' , 107 ) # Index in name list
214216name_op ('IMPORT_FROM' , 108 ) # Index in name list
215217
@@ -221,6 +223,7 @@ def jabs_op(name, op):
221223
222224name_op ('LOAD_LOCAL' , 115 ) # Index in name list
223225name_op ('LOAD_GLOBAL' , 116 ) # Index in name list
226+
224227def_op ('SET_FUNC_ARGS' , 117 ) # Argcount
225228
226229jrel_op ('SETUP_LOOP' , 120 ) # Distance to target address
0 commit comments