summaryrefslogtreecommitdiff
path: root/src/passes/MergeBlocks.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-10-03 08:15:52 -0700
committerGitHub <noreply@github.com>2024-10-03 08:15:52 -0700
commitce1a13c06aca0690b296f34401011b5a0bc07636 (patch)
tree620531977d79a0a189f2958db726348179de5db0 /src/passes/MergeBlocks.cpp
parent7e1413902d74111898419b9ed5add45429fa62f8 (diff)
downloadbinaryen-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