summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-01-05 11:08:06 -0800
committerGitHub <noreply@github.com>2023-01-05 11:08:06 -0800
commita090dcf453a701922ee6e5cfecdf5619ab6a023b (patch)
tree57e7a0e59d79e0f39d0be40e2511cc6a927ec0fb /src/wasm/wasm.cpp
parent5bf548b32e30fbae16dde5df703541ca7ac72f15 (diff)
downloadbinaryen-a090dcf453a701922ee6e5cfecdf5619ab6a023b.tar.gz
binaryen-a090dcf453a701922ee6e5cfecdf5619ab6a023b.tar.bz2
binaryen-a090dcf453a701922ee6e5cfecdf5619ab6a023b.zip
[Wasm GC] Clean up and improve null trap and cast optimizations (#5394)
visitRefCast can use trapOnNonNull. To make this not regress, add fallthrough analysis there as well. Minor test changes are due to trapOnNonNull using getDroppedChildren which only emits drops of necessary children. It also tells us to refinalize so it is ok for it to change the type to unreachable.
Diffstat (limited to 'src/wasm/wasm.cpp')
0 files changed, 0 insertions, 0 deletions