aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 2eeeac53e1d..e1a6a256fbd 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -2378,11 +2378,12 @@ dummy_func(
stack_pointer = _PyFrame_GetStackPointer(frame);
}
else {
+ code->co_executors->executors[oparg & 255] = NULL;
opcode = this_instr->op.code = executor->vm_data.opcode;
this_instr->op.arg = executor->vm_data.oparg;
oparg = (oparg & (~255)) | executor->vm_data.oparg;
- code->co_executors->executors[oparg&255] = NULL;
Py_DECREF(executor);
+ next_instr = this_instr;
DISPATCH_GOTO();
}
}