mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-107265: Add missing deoptimizations for ENTER_EXECUTOR's original opcode (GH-109420)
This commit is contained in:
parent
8ded34a1ff
commit
d5611f2804
3 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue