Repository navigation
Commit 2f338c5
committed
ZJIT: globally remove duplicate CheckInterrupts
This also required updating the effects of Jump and CondBranch, since
`effects::Any` includes `InterruptFlag` (meaning the optimization would
never actually work across blocks).
```
ruby-master-zjit: ruby 4.1.0dev (2026-09-17T20:29:33Z master aca98ee) +ZJIT +PRISM [arm64-darwin25]
ruby-dev-zjit: ruby 4.1.0dev (2026-09-17T21:09:40Z hm-ukpqtuorkpnknmos 203f9cdd52) +ZJIT +PRISM [arm64-darwin25]
last_commit=ZJIT: globally remove duplicate CheckInterrupts
---------- --------------------- ------------------ --------------------- ------------------------------
bench ruby-master-zjit (ms) ruby-dev-zjit (ms) ruby-dev-zjit 1st itr ruby-master-zjit/ruby-dev-zjit
30k_ifelse 44.7 ± 2.8% 42.5 ± 2.7% 1.045 1.050
---------- --------------------- ------------------ --------------------- ------------------------------
```1 parent aca98ee commit 2f338c5
2 files changed
Lines changed: 58 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
1849 | | - | |
1850 | | - | |
| 1849 | + | |
| 1850 | + | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
| |||
7126 | 7126 | | |
7127 | 7127 | | |
7128 | 7128 | | |
7129 | | - | |
7130 | | - | |
7131 | | - | |
| 7129 | + | |
| 7130 | + | |
| 7131 | + | |
| 7132 | + | |
| 7133 | + | |
| 7134 | + | |
| 7135 | + | |
| 7136 | + | |
7132 | 7137 | | |
7133 | | - | |
7134 | | - | |
7135 | | - | |
7136 | | - | |
7137 | | - | |
7138 | | - | |
7139 | | - | |
7140 | | - | |
7141 | | - | |
7142 | | - | |
7143 | | - | |
| 7138 | + | |
| 7139 | + | |
| 7140 | + | |
| 7141 | + | |
| 7142 | + | |
| 7143 | + | |
| 7144 | + | |
| 7145 | + | |
| 7146 | + | |
| 7147 | + | |
| 7148 | + | |
| 7149 | + | |
| 7150 | + | |
| 7151 | + | |
| 7152 | + | |
| 7153 | + | |
| 7154 | + | |
| 7155 | + | |
| 7156 | + | |
| 7157 | + | |
| 7158 | + | |
| 7159 | + | |
| 7160 | + | |
| 7161 | + | |
| 7162 | + | |
| 7163 | + | |
| 7164 | + | |
| 7165 | + | |
| 7166 | + | |
| 7167 | + | |
| 7168 | + | |
| 7169 | + | |
| 7170 | + | |
| 7171 | + | |
| 7172 | + | |
| 7173 | + | |
| 7174 | + | |
| 7175 | + | |
| 7176 | + | |
| 7177 | + | |
| 7178 | + | |
| 7179 | + | |
| 7180 | + | |
| 7181 | + | |
| 7182 | + | |
| 7183 | + | |
| 7184 | + | |
| 7185 | + | |
7144 | 7186 | | |
7145 | | - | |
7146 | 7187 | | |
7147 | | - | |
7148 | | - | |
7149 | 7188 | | |
7150 | 7189 | | |
7151 | 7190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11580 | 11580 | | |
11581 | 11581 | | |
11582 | 11582 | | |
11583 | | - | |
11584 | 11583 | | |
11585 | 11584 | | |
11586 | 11585 | | |
11587 | | - | |
11588 | 11586 | | |
11589 | 11587 | | |
11590 | 11588 | | |
| |||
15246 | 15244 | | |
15247 | 15245 | | |
15248 | 15246 | | |
15249 | | - | |
15250 | 15247 | | |
15251 | 15248 | | |
15252 | 15249 | | |
| |||
15264 | 15261 | | |
15265 | 15262 | | |
15266 | 15263 | | |
15267 | | - | |
15268 | 15264 | | |
15269 | 15265 | | |
15270 | 15266 | | |
| |||
21611 | 21607 | | |
21612 | 21608 | | |
21613 | 21609 | | |
21614 | | - | |
21615 | 21610 | | |
21616 | 21611 | | |
21617 | | - | |
21618 | 21612 | | |
21619 | 21613 | | |
21620 | 21614 | | |
| |||
22950 | 22944 | | |
22951 | 22945 | | |
22952 | 22946 | | |
22953 | | - | |
22954 | 22947 | | |
22955 | 22948 | | |
22956 | 22949 | | |
| |||
0 commit comments