Skip to content

Commit 8c75093

Browse files
committed
A stray JUMP_BACKWARD also ends the trace
1 parent 4d23aa3 commit 8c75093

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Python/optimizer.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,11 @@ translate_bytecode_to_trace(
453453
&& trace_length + 3 <= max_length)
454454
{
455455
ADD_TO_TRACE(JUMP_TO_TOP, 0);
456-
goto done;
457456
}
458-
// Else fall through!
457+
else {
458+
DPRINTF(2, "JUMP_BACKWARD not to top ends trace\n");
459+
}
460+
goto done;
459461
}
460462
default:
461463
{

0 commit comments

Comments
 (0)