summaryrefslogtreecommitdiff
path: root/src/passes/RemoveUnusedModuleElements.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-05-10 20:06:53 -0700
committerGitHub <noreply@github.com>2021-05-10 20:06:53 -0700
commit09052c055c07ec5a1385cd5c142ff4d8534f1d1c (patch)
tree13302b7379e425d9babbf440c6eb3a31740fce14 /src/passes/RemoveUnusedModuleElements.cpp
parent5670de328320a554d4b6fa20b2fde37b4f337ce3 (diff)
downloadbinaryen-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