Skip to content

Commit c87f9d6

Browse files
committed
A stray JUMP_BACKWARD also ends the trace
1 parent 80690c9 commit c87f9d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Python/optimizer.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,11 @@ translate_bytecode_to_trace(
459459
&& trace_length + 3 <= max_length)
460460
{
461461
ADD_TO_TRACE(JUMP_TO_TOP, 0);
462-
goto done;
463462
}
464-
// Else fall through!
463+
else {
464+
DPRINTF(2, "JUMP_BACKWARD not to top ends trace\n");
465+
}
466+
goto done;
465467
}
466468
default:
467469
{

0 commit comments

Comments
 (0)