Commit ab75997
committed
Fix a bug in the liveness analysis.
Before, the first instruction of a function *defined* the function's
arguments. This meant that if you asked what was live at the first
instruction, then the arguments would not yet be live. This is wrong!
Nothing in-tree currently hits this case, but I have triggered it during
development.
Ideally we'd have dedicated tests for the liveness analysis:
ykjit/yk#7581 parent 9c9f169 commit ab75997
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
0 commit comments