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 4b26cde commit d820e22Copy full SHA for d820e22
Python/optimizer.c
@@ -1234,7 +1234,7 @@ uop_optimize(
1234
int curr_stackentries = tstate->interp->jit_state.jit_tracer_initial_stack_depth;
1235
int length = interp->jit_state.jit_tracer_code_curr_size;
1236
// Trace too short, don't bother.
1237
- if (length <= 20) {
+ if (length <= 20 && buffer[length-1].opcode != _JUMP_TO_TOP) {
1238
return 0;
1239
}
1240
assert(length > 0);
0 commit comments