Skip to content

Commit fe8c8f8

Browse files
fix linking back to ENTER_EXECUTOR
1 parent c93cd6e commit fe8c8f8

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

Python/bytecodes.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5587,9 +5587,14 @@ dummy_func(
55875587
next_instr = this_instr;
55885588
frame->instr_ptr = prev_instr;
55895589
opcode = next_instr->op.code;
5590-
bool stop_tracing = (opcode == WITH_EXCEPT_START ||
5591-
opcode == RERAISE || opcode == CLEANUP_THROW ||
5592-
opcode == PUSH_EXC_INFO || opcode == INTERPRETER_EXIT || opcode >= MIN_INSTRUMENTED_OPCODE);
5590+
bool stop_tracing = (
5591+
opcode == WITH_EXCEPT_START ||
5592+
opcode == RERAISE ||
5593+
opcode == CLEANUP_THROW ||
5594+
opcode == PUSH_EXC_INFO ||
5595+
opcode == INTERPRETER_EXIT ||
5596+
(opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
5597+
);
55935598
int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
55945599
if (full) {
55955600
LEAVE_TRACING();

Python/generated_cases.c.h

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)