diff options
author | Alon Zakai <azakai@google.com> | 2021-06-29 16:03:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 16:03:37 -0700 |
commit | 10ef52d62468aec5762742930630e882dc5e5c0b (patch) | |
tree | 794b3754a8c6aeedce3b4acb2240e169c526eb50 /src/tools/fuzzing.h | |
parent | 6ab05d914bbee87dd4a26f218a04e7ea918a2271 (diff) | |
download | binaryen-10ef52d62468aec5762742930630e882dc5e5c0b.tar.gz binaryen-10ef52d62468aec5762742930630e882dc5e5c0b.tar.bz2 binaryen-10ef52d62468aec5762742930630e882dc5e5c0b.zip |
[Wasm GC] Fix LinearExecutionWalker (#3954)
That traversal did not mention BrOn, which led to it doing incorrect work in
SimplifyLocals.
Also add assertions at the end, that aim to prevent future issues.
The rest of the fix is to make SimplifyLocals not assume that things
are a Switch if they are not an If/Block/etc., so that we don't crash
on a BrOn.
Diffstat (limited to 'src/tools/fuzzing.h')
0 files changed, 0 insertions, 0 deletions