Commit 7045b14
committed
Fix potential segfault when reporting error
When reaching to SSA phase, the "error" function would always cause
segment fault due to the internal design, which is the source index
is always going to be out of bound. In this patch, we instead use
"fatal" function to avoid this issue.1 parent a39f318 commit 7045b14
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
| 700 | + | |
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| |||
0 commit comments