Commit e88134b
committed
[sil] When creating a new instruction, verify that it is compatible structurally with the provided SILLocation.
These checks used to be in the SILVerifier only so one had to drop down into the
debugger to figure out where a pass actually introduced the bad location. With
this change, we abort immediately in the place in the code where the problem
happens allowing for one to quickly fix the problems.1 parent 8085754 commit e88134b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2622 | 2622 | | |
2623 | 2623 | | |
2624 | 2624 | | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
2625 | 2630 | | |
2626 | 2631 | | |
2627 | 2632 | | |
| |||
0 commit comments