diff options
author | Alon Zakai <azakai@google.com> | 2024-10-03 08:15:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-03 08:15:52 -0700 |
commit | ce1a13c06aca0690b296f34401011b5a0bc07636 (patch) | |
tree | 620531977d79a0a189f2958db726348179de5db0 /src/passes/MergeBlocks.cpp | |
parent | 7e1413902d74111898419b9ed5add45429fa62f8 (diff) | |
download | binaryen-ce1a13c06aca0690b296f34401011b5a0bc07636.tar.gz binaryen-ce1a13c06aca0690b296f34401011b5a0bc07636.tar.bz2 binaryen-ce1a13c06aca0690b296f34401011b5a0bc07636.zip |
[Wasm EH] Optimize throws caught by TryTable into breaks (#6980)
E.g.
(try_table (catch_all $catch)
(throw $e)
)
=>
(try_table (catch_all $catch)
(br $catch)
)
This can then allow other passes to remove the TryTable, if no throwing
things remain.
Diffstat (limited to 'src/passes/MergeBlocks.cpp')
0 files changed, 0 insertions, 0 deletions