diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 46694c5b389b3a..03d56a51a53b3e 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -134,7 +134,6 @@ dummy_func( // BEGIN BYTECODES // inst(NOP, (--)) { } - inst(RESUME, (--)) { assert(tstate->cframe == &cframe); assert(frame == cframe.current_frame); @@ -192,13 +191,12 @@ dummy_func( assert(value != NULL); Py_INCREF(value); } - + inst(LOAD_FAST_AND_CLEAR, (-- value)) { value = GETLOCAL(oparg); // do not use SETLOCAL here, it decrefs the old value GETLOCAL(oparg) = NULL; } - inst(LOAD_FAST_LOAD_FAST, ( -- value1, value2)) { uint32_t oparg1 = oparg >> 4; uint32_t oparg2 = oparg & 15; diff --git a/Python/compile.c b/Python/compile.c index b13648d99cd2b3..e857d961c71ff0 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -843,7 +843,6 @@ stack_effect(int opcode, int oparg, int jump) * of __(a)enter__ and push 2 values before jumping to the handler * if an exception be raised. */ return jump ? 1 : 0; - case STORE_FAST_MAYBE_NULL: return -1; case LOAD_CLOSURE: