Commit da1daba
authored
ZJIT: Refine effects for CheckInterrupts to InterruptFlag|Control (ruby#16240)
CheckInterrupts only reads ec->interrupt_flag and conditionally
side-exits — it doesn't touch PatchPoint invariants or the allocator.
Add an InterruptFlag leaf under Memory in the abstract heap DAG and
narrow CheckInterrupts from Any to read(InterruptFlag)|write(Control).
This lets remove_redundant_patch_points see through CheckInterrupts,
eliminating duplicate PatchPoints that were previously separated by
an interrupt check.1 parent c5d85d5 commit da1daba
File tree
4 files changed
+14
-15
lines changed- zjit/src
- hir_effect
- hir
4 files changed
+14
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | | - | |
| 1244 | + | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | 626 | | |
630 | 627 | | |
631 | 628 | | |
| |||
697 | 694 | | |
698 | 695 | | |
699 | 696 | | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | 697 | | |
704 | 698 | | |
705 | 699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments