summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-06-29 16:03:37 -0700
committerGitHub <noreply@github.com>2021-06-29 16:03:37 -0700
commit10ef52d62468aec5762742930630e882dc5e5c0b (patch)
tree794b3754a8c6aeedce3b4acb2240e169c526eb50 /src/tools/fuzzing.h
parent6ab05d914bbee87dd4a26f218a04e7ea918a2271 (diff)
downloadbinaryen-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