diff options
author | Alon Zakai <azakai@google.com> | 2021-11-15 08:18:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 08:18:00 -0800 |
commit | 9fa7f6f2a609c7defbafe7be23d56330d54e79c9 (patch) | |
tree | 44cf052ff7e545be06218b6695d70b27c474e0d4 /src/wasm/wasm.cpp | |
parent | 5597d1c03e25684b999035e77578db97e91c16eb (diff) | |
download | binaryen-9fa7f6f2a609c7defbafe7be23d56330d54e79c9.tar.gz binaryen-9fa7f6f2a609c7defbafe7be23d56330d54e79c9.tar.bz2 binaryen-9fa7f6f2a609c7defbafe7be23d56330d54e79c9.zip |
Fix vacuum on rtts with depth (#4327)
Found by the fuzzer. Calling makeZero on an rtt with depth will
error because we try to create a zero Literal from it, and we can't
do that - we don't know a list of super types to give it. We could
work around it, but we don't want to: if the rtt has depth then we
can't make a nice zero for it, we'd need some rtt.subs anyhow,
so simply mark it as a type we can't make a zero for.
Diffstat (limited to 'src/wasm/wasm.cpp')
0 files changed, 0 insertions, 0 deletions