Commit 4805dd7
authored
effects.h: Fix missing implicitTrap for ArrayRMW and ArrayCmpxchg (#8328)
- `visitArrayRMW` and `visitArrayCmpxchg` in `EffectAnalyzer` only set
`implicitTrap` when the array reference is nullable, missing the
out-of-bounds index case.1 parent b9a2c29 commit 4805dd7
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
| 1030 | + | |
| 1031 | + | |
1033 | 1032 | | |
1034 | 1033 | | |
1035 | 1034 | | |
| |||
1040 | 1039 | | |
1041 | 1040 | | |
1042 | 1041 | | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
| 1042 | + | |
| 1043 | + | |
1046 | 1044 | | |
1047 | 1045 | | |
1048 | 1046 | | |
| |||
0 commit comments