Skip to content

Commit 33cf287

Browse files
address review
1 parent 308ccc0 commit 33cf287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ _PyJit_TryInitializeTracing(
968968
_PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
969969
// A recursive trace.
970970
// Don't trace into the inner call because it will stomp on the previous trace, causing endless retraces.
971-
if (_tstate->jit_tracer_state.prev_state.code_curr_size > CODE_SIZE_NO_PROGRESS) {
971+
if (_tstate->jit_tracer_state.prev_state.code_curr_size > CODE_SIZE_EMPTY) {
972972
return 0;
973973
}
974974
if (oparg > 0xFFFF) {

0 commit comments

Comments
 (0)