diff options
author | Alon Zakai <azakai@google.com> | 2024-10-03 09:06:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-03 09:06:46 -0700 |
commit | 36181c881c67f2b11386fdf885dbe33567db0d67 (patch) | |
tree | d72adfff75bfcd4c74371eb54a488a5e22bcf9db /test/spec | |
parent | ce1a13c06aca0690b296f34401011b5a0bc07636 (diff) | |
download | binaryen-36181c881c67f2b11386fdf885dbe33567db0d67.tar.gz binaryen-36181c881c67f2b11386fdf885dbe33567db0d67.tar.bz2 binaryen-36181c881c67f2b11386fdf885dbe33567db0d67.zip |
[NFC] Refactor out the dropped-block optimization code in MergeBlocks (#6982)
This just moves the code out into a function. A later PR will use it in another place.
Add a test that shows the motivation for that later PR: we fail to optimize away
a block return value at the top level of a function. Fixing that will involve calling
the new function here from another place.
Diffstat (limited to 'test/spec')
0 files changed, 0 insertions, 0 deletions