Skip to content

Commit 0f21e09

Browse files
committed
A stray JUMP_BACKWARD also ends the trace
1 parent 3945e57 commit 0f21e09

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
@@ -382,9 +382,11 @@ translate_bytecode_to_trace(
382382
&& trace_length + 3 <= max_length)
383383
{
384384
ADD_TO_TRACE(JUMP_TO_TOP, 0);
385-
goto done;
386385
}
387-
// Else fall through!
386+
else {
387+
DPRINTF(2, "JUMP_BACKWARD not to top ends trace\n");
388+
}
389+
goto done;
388390
}
389391
default:
390392
{

0 commit comments

Comments
 (0)