diff options
author | Tian Gao <gaogaotiantian@hotmail.com> | 2023-09-22 21:13:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 21:13:31 (GMT) |
commit | d5611f280403d19befe4a3e505b037d286cf798e (patch) | |
tree | 468f1560b4e67a67a579b98c9cc0dfd26bad47ce /Python/instrumentation.c | |
parent | 8ded34a1ff2d355e95213ab72493908f2ca25dd9 (diff) | |
download | cpython-d5611f280403d19befe4a3e505b037d286cf798e.zip cpython-d5611f280403d19befe4a3e505b037d286cf798e.tar.gz cpython-d5611f280403d19befe4a3e505b037d286cf798e.tar.bz2 |
GH-107265: Add missing deoptimizations for ENTER_EXECUTOR's original opcode (GH-109420)
Diffstat (limited to 'Python/instrumentation.c')
-rw-r--r-- | Python/instrumentation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/instrumentation.c b/Python/instrumentation.c index df8943b..0b974f6 100644 --- a/Python/instrumentation.c +++ b/Python/instrumentation.c @@ -306,7 +306,7 @@ _PyInstruction_GetLength(PyCodeObject *code, int offset) if (opcode == ENTER_EXECUTOR) { int exec_index = _PyCode_CODE(code)[offset].op.arg; _PyExecutorObject *exec = code->co_executors->executors[exec_index]; - opcode = exec->vm_data.opcode; + opcode = _PyOpcode_Deopt[exec->vm_data.opcode]; } assert(opcode != ENTER_EXECUTOR); |