summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2024-09-10 19:13:19 -0700
committerGitHub <noreply@github.com>2024-09-10 19:13:19 -0700
commit432ed1ccc62aea8c04ac0d2f89a25acedde6c948 (patch)
tree48d44eb852666db791bd5c74a14578d3d0ab2772 /src/wasm.h
parent1a2d26f4092897f88f8fc60fc7a4dee2083ae531 (diff)
downloadbinaryen-432ed1ccc62aea8c04ac0d2f89a25acedde6c948.tar.gz
binaryen-432ed1ccc62aea8c04ac0d2f89a25acedde6c948.tar.bz2
binaryen-432ed1ccc62aea8c04ac0d2f89a25acedde6c948.zip
[EH] Fix pop enclosed within a block in DCE (#6922)
#6400 fixed this case but that handled only when a `pop` is an immediate child of the current expression, but a `pop` can be nested deeper down. We conservatively run the EH fixup whenever we have a `pop` and create `block`s in the optimization. We considered using `FindAll<Pop>` to make it precise, but we decided the quadratic time plexity was not worth it. Fixes #6918.
Diffstat (limited to 'src/wasm.h')
0 files changed, 0 insertions, 0 deletions