Skip to content

Commit a767b8f

Browse files
Add terminator to JIT code when halting due to invalid dependencies
1 parent 8d2d7bb commit a767b8f

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
@@ -710,7 +710,7 @@ _PyJit_translate_single_bytecode_to_trace(
710710
}
711711

712712
if (!_tstate->jit_tracer_state.prev_state.dependencies_still_valid) {
713-
goto done;
713+
goto full;
714714
}
715715

716716
// This happens when a recursive call happens that we can't trace. Such as Python -> C -> Python calls

0 commit comments

Comments
 (0)