Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a855458 commit 80b9b3aCopy full SHA for 80b9b3a
1 file changed
Python/optimizer.c
@@ -419,6 +419,12 @@ translate_bytecode_to_trace(
419
opcode = instr->op.code;
420
oparg = (oparg << 8) | instr->op.arg;
421
}
422
+ if (opcode == ENTER_EXECUTOR) {
423
+ _PyExecutorObject *executor = (_PyExecutorObject *)code->co_executors->executors[oparg&255];
424
+ opcode = executor->vm_data.opcode;
425
+ DPRINTF(2, " * ENTER_EXECUTOR -> %s\n", _PyOpcode_OpName[opcode]);
426
+ oparg = (oparg & 0xffffff00) | executor->vm_data.oparg;
427
+ }
428
switch (opcode) {
429
default:
430
{
0 commit comments