summaryrefslogtreecommitdiff
path: root/test/spec
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-10-03 09:06:46 -0700
committerGitHub <noreply@github.com>2024-10-03 09:06:46 -0700
commit36181c881c67f2b11386fdf885dbe33567db0d67 (patch)
treed72adfff75bfcd4c74371eb54a488a5e22bcf9db /test/spec
parentce1a13c06aca0690b296f34401011b5a0bc07636 (diff)
downloadbinaryen-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