Skip to content

Commit 253f230

Browse files
fix frame owned by interp
1 parent aa92d84 commit 253f230

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Python/bytecodes.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5514,6 +5514,9 @@ dummy_func(
55145514
TIER2_TO_TIER2(executor);
55155515
}
55165516
}
5517+
if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
5518+
GOTO_TIER_ONE(target);
5519+
}
55175520
if (!backoff_counter_triggers(temperature)) {
55185521
exit->temperature = advance_backoff_counter(temperature);
55195522
GOTO_TIER_ONE(target);

Python/executor_cases.c.h

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)