summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2022-07-26 15:54:48 -0700
committerGitHub <noreply@github.com>2022-07-26 15:54:48 -0700
commit24552779ebfbfc8f296d169c1462308aea27591c (patch)
tree5448f785c53a8818b6099b0e67d2ca09dd1ac8fa /src/wasm-builder.h
parent61483f5e77e6a6b1370e60044ebb20b22b6abb71 (diff)
downloadbinaryen-24552779ebfbfc8f296d169c1462308aea27591c.tar.gz
binaryen-24552779ebfbfc8f296d169c1462308aea27591c.tar.bz2
binaryen-24552779ebfbfc8f296d169c1462308aea27591c.zip
Fix unreachable handling in getDroppedChildrenAndAppend (#4834)
The previous code assumes if `last`'s type is unreachable it traps. But it's not always the case because it can be other instructions like `br` whose type is unreachable but doesn't necessarily trap. Context: https://github.com/WebAssembly/binaryen/pull/4827#discussion_r929395477
Diffstat (limited to 'src/wasm-builder.h')
0 files changed, 0 insertions, 0 deletions