gh-120367: fix removal of redundant NOPs and jumps after reordering h… · python/cpython@21866c8 · GitHub
Skip to content

Commit 21866c8

Browse files
authored
gh-120367: fix removal of redundant NOPs and jumps after reordering hot-cold blocks (#120425)
1 parent c2d5df5 commit 21866c8

3 files changed

Lines changed: 47 additions & 12 deletions

File tree

Lib/test/test_compile.py

Lines changed: 27 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix crash in compiler on code with redundant NOPs and JUMPs which show up
2+
after exception handlers are moved to the end of the code.

Python/flowgraph.c

Lines changed: 18 additions & 12 deletions

0 commit comments

Comments
 (0)