Commit 13fe0e3
authored
Fuzzer: Use existing mechanism to fix up non-nullable global exnrefs (#8021)
We can't easily make a non-nullable exnref, and use a throw in a block
to manufacture one when necessary. That doesn't work in the global
scope. When in that bad situation, emit a RefAsNonNull to "fix" it,
which is not valid (like a throw+block are not valid), but existing code
for global generation notes that and fixes it up.1 parent f23ae35 commit 13fe0e3
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3795 | 3795 | | |
3796 | 3796 | | |
3797 | 3797 | | |
3798 | | - | |
3799 | | - | |
3800 | | - | |
| 3798 | + | |
| 3799 | + | |
3801 | 3800 | | |
3802 | | - | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
3803 | 3810 | | |
3804 | 3811 | | |
| 3812 | + | |
3805 | 3813 | | |
3806 | 3814 | | |
3807 | 3815 | | |
| |||
0 commit comments