summaryrefslogtreecommitdiff
path: root/test/wasm2js/bulk-memory.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-09-13 15:10:00 -0700
committerGitHub <noreply@github.com>2022-09-13 22:10:00 +0000
commit795a70b02032f57f14d97d7555af97f0e527b4b0 (patch)
treeec3f0625ddfef2b831b1801990a39eafb912d328 /test/wasm2js/bulk-memory.2asm.js
parentf1a3e682e864fcb827a01d3c5725d847053fe149 (diff)
downloadbinaryen-795a70b02032f57f14d97d7555af97f0e527b4b0.tar.gz
binaryen-795a70b02032f57f14d97d7555af97f0e527b4b0.tar.bz2
binaryen-795a70b02032f57f14d97d7555af97f0e527b4b0.zip
[Exceptions] Optimize in CodePushing even with exceptions thrown (#5028)
We had some concerns about this not working in the past, but thinking about it now, I believe it is safe to do. Specifically, a throw is either like a break or a return - either it jumps out to an outer scope (like a break) or it jumps out of the function (like a return), and both breaks and returns have already been handled here. This change has some nice effects on J2Wasm output, where there are quite a lot of throws, which we can now optimize around.
Diffstat (limited to 'test/wasm2js/bulk-memory.2asm.js')
0 files changed, 0 insertions, 0 deletions