Commit d201c48
authored
Bytecode parity - for-loop cleanup, return duplication, late jump threading fix (#7580)
- Use POP_TOP instead of POP_ITER for for-loop break/return cleanup
- Expand duplicate_end_returns to clone final return for jump predecessors
- Restrict late jump threading pass to unconditional jumps only
- Skip exception blocks in inline/reorder passes
- Simplify threaded_jump_instr NoInterrupt handling1 parent 9cf7bcd commit d201c48
File tree
19 files changed
+1031
-263
lines changed- Lib/test
- crates
- codegen/src
- snapshots
- compiler-core/src/bytecode
- vm/src
- stdlib
- _ast
- sys
- vm
- extra_tests/snippets
- scripts
19 files changed
+1031
-263
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
1191 | 1190 | | |
1192 | 1191 | | |
1193 | 1192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
885 | | - | |
886 | 885 | | |
887 | 886 | | |
888 | 887 | | |
| |||
909 | 908 | | |
910 | 909 | | |
911 | 910 | | |
912 | | - | |
913 | 911 | | |
914 | 912 | | |
915 | 913 | | |
| |||
0 commit comments