|
136 | 136 | def_op(loc, "INPLACE_OR", 79, 2, 1) |
137 | 137 | def_op(loc, "BREAK_LOOP", 80, 0, 0, fallthrough=False) |
138 | 138 |
|
139 | | -def_op(loc, "LOAD_LOCALS", 82, 0, 1) |
| 139 | +def_op(loc, "LOAD_LOCALS", 82, 0, 1) # Pushes a reference to the locals of the current scope. |
| 140 | + # This is not a name op. |
140 | 141 | def_op(loc, "RETURN_VALUE", 83, 1, 0, fallthrough=False) |
141 | 142 | def_op(loc, "IMPORT_STAR", 84, 1, 0) |
142 | 143 | def_op(loc, "EXEC_STMT", 85, 3, 0) |
|
208 | 209 | # number |
209 | 210 | local_op(loc, "DELETE_FAST", 126, 0, 0) # Local variable number is in operand |
210 | 211 |
|
211 | | -nargs_op(loc, "RAISE_VARARGS", 130, -1, 2, fallthrough=False) |
| 212 | +nargs_op(loc, "RAISE_VARARGS", 130, VARYING_STACK_INT, 2, fallthrough=False) |
212 | 213 | # Number of raise arguments (1, 2, or 3) |
213 | | -call_op(loc, "CALL_FUNCTION", 131, -1, 2) # TOS is #args + (#kwargs << 8) |
| 214 | +call_op(loc, "CALL_FUNCTION", 131, VARYING_STACK_INT, 2) # TOS is #args + (#kwargs << 8) |
214 | 215 |
|
215 | | -nargs_op(loc, "MAKE_FUNCTION", 132, -1, 2) # TOS is number of args with |
| 216 | +nargs_op(loc, "MAKE_FUNCTION", 132, VARYING_STACK_INT, 2) # TOS is number of args with |
216 | 217 | # default values |
217 | 218 | varargs_op(loc, "BUILD_SLICE", 133, 2, 1) # TOS is number of items |
218 | 219 |
|
|
0 commit comments