diff options
author | Alon Zakai <azakai@google.com> | 2023-02-14 10:21:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 10:21:06 -0800 |
commit | 0fbfedabb9339995a7a8040414aafcc86004b973 (patch) | |
tree | d2aa77987d593f03fa2da767acccea1acbe2a812 /src/wasm.h | |
parent | 728b37cbe95ca8ea8cfba9ebc70e3fcb14db273a (diff) | |
download | binaryen-0fbfedabb9339995a7a8040414aafcc86004b973.tar.gz binaryen-0fbfedabb9339995a7a8040414aafcc86004b973.tar.bz2 binaryen-0fbfedabb9339995a7a8040414aafcc86004b973.zip |
Vacuum unneeded instructions even if children have effects (#5488)
This can handle e.g.
(drop
(i32.add
(call ..)
(call ..)
)
)
We can remove the add and just leave two dropped calls:
(drop
(call ..)
)
(drop
(call ..)
)
Diffstat (limited to 'src/wasm.h')
0 files changed, 0 insertions, 0 deletions