Commit 4596b98
authored
[Parser] Error properly on br_on* going to a target without a value (#7338)
Internally we subtract 1 from the number of values while
processing such things, but if we start with 0 we'd overflow
and hit a confusing error later.
Fixes the last part of #73371 parent 7c6df82 commit 4596b98
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
1977 | 1980 | | |
1978 | 1981 | | |
1979 | 1982 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments