diff options
author | Alon Zakai <azakai@google.com> | 2021-05-10 20:06:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 20:06:53 -0700 |
commit | 09052c055c07ec5a1385cd5c142ff4d8534f1d1c (patch) | |
tree | 13302b7379e425d9babbf440c6eb3a31740fce14 /src/passes/RemoveUnusedModuleElements.cpp | |
parent | 5670de328320a554d4b6fa20b2fde37b4f337ce3 (diff) | |
download | binaryen-09052c055c07ec5a1385cd5c142ff4d8534f1d1c.tar.gz binaryen-09052c055c07ec5a1385cd5c142ff4d8534f1d1c.tar.bz2 binaryen-09052c055c07ec5a1385cd5c142ff4d8534f1d1c.zip |
[Wasm GC] Fix StructSet::finalize on an unreachable value (#3874)
Also fix printing of unreachable StructSets, which must handle the case
of an unreachable reference, which means we do not know the RTT,
and so we must print a replacement for the StructSet somehow. Emit a
block with drops, fixing the old behavior which was missing the drops.
Diffstat (limited to 'src/passes/RemoveUnusedModuleElements.cpp')
0 files changed, 0 insertions, 0 deletions