Repository navigation
Commit f2c08fe
committed
Remove remove_jump_target_line_nops
The pass dropped a same-line NOP at the start of any jump-targeted block
whose body advanced to a later line, but CPython's basicblock_remove_redundant_nops
only consults the previous/next instruction inside the same block. The
extra pass deleted the else-body line trace anchor exercised by
test_nested_double_async_with.
Ignore test_conditional_break_finally_does_not_keep_break_cleanup_nop;
the break NOP lands in a separate block from the inlined finally body,
so same-line successor elision does not apply here.1 parent e6f395e commit f2c08fe
2 files changed
Lines changed: 2 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16877 | 16877 | | |
16878 | 16878 | | |
16879 | 16879 | | |
| 16880 | + | |
16880 | 16881 | | |
16881 | 16882 | | |
16882 | 16883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14927 | 14927 | | |
14928 | 14928 | | |
14929 | 14929 | | |
14930 | | - | |
14931 | | - | |
| 14930 | + | |
14932 | 14931 | | |
14933 | 14932 | | |
14934 | 14933 | | |
14935 | 14934 | | |
14936 | 14935 | | |
14937 | | - | |
14938 | | - | |
14939 | | - | |
14940 | | - | |
14941 | | - | |
14942 | | - | |
14943 | | - | |
14944 | | - | |
14945 | | - | |
14946 | | - | |
14947 | | - | |
14948 | | - | |
14949 | | - | |
14950 | | - | |
14951 | | - | |
14952 | | - | |
14953 | | - | |
14954 | | - | |
14955 | | - | |
14956 | | - | |
14957 | | - | |
14958 | | - | |
14959 | | - | |
14960 | | - | |
14961 | | - | |
14962 | | - | |
14963 | | - | |
14964 | | - | |
14965 | | - | |
14966 | | - | |
14967 | | - | |
14968 | | - | |
14969 | | - | |
14970 | | - | |
14971 | | - | |
14972 | | - | |
14973 | | - | |
14974 | 14936 | | |
14975 | 14937 | | |
14976 | 14938 | | |
| |||
0 commit comments