Commit 0894370
committed
fix: avoid to visit nullptr in binaryen
Module.getExpressionId will be used for nullptr ExpressionRef. It works because deref nullptr in binaryen's wasm is valid.
Adding guard can enhance robustness1 parent 6cd638e commit 0894370
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
| 3022 | + | |
3022 | 3023 | | |
3023 | 3024 | | |
3024 | 3025 | | |
| |||
0 commit comments