Commit f203a5d
authored
Run the Polling pass earlier (#10523)
Inserting poll point adds new control paths: a poll can raise an
exception that is handled by a try...with in the same function.
As #10520, this can invalidate optimizations performed before poll
point insertion, such as dead code elimination.
This commit moves the Polling pass just after the Selection pass,
before all optimization passes.
Fixes: #105201 parent 9f1b1ed commit f203a5d
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
150 | | - | |
151 | | - | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments