diff options
author | Alon Zakai <azakai@google.com> | 2024-10-10 16:06:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 16:06:11 -0700 |
commit | f0a5e488ae68074837706edafb54050e56cf9937 (patch) | |
tree | af4a6a40344212c73a94554ff6ba0e1dfda5cf95 /src/parsing.h | |
parent | a8aa6602cdbedd04e69d362c01bbf378a44b395d (diff) | |
download | binaryen-f0a5e488ae68074837706edafb54050e56cf9937.tar.gz binaryen-f0a5e488ae68074837706edafb54050e56cf9937.tar.bz2 binaryen-f0a5e488ae68074837706edafb54050e56cf9937.zip |
[Wasm EH] Optimize values flowing out of TryTable (#6997)
This allows
(block $out (result i32)
(try_table (catch..)
..
(br $out
(i32.const 42)
)
)
)
=>
(block $out (result i32)
(try_table (result i32) (catch..) ;; add a result
..
(i32.const 42) ;; remove the br around the value
)
)
Diffstat (limited to 'src/parsing.h')
0 files changed, 0 insertions, 0 deletions