summaryrefslogtreecommitdiff
path: root/test/binaryen.js/sourcemap.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-11-26 14:15:54 -0800
committerGitHub <noreply@github.com>2018-11-26 14:15:54 -0800
commit4d65912ee77fd665a1bfff50d81e0aa896dab8a5 (patch)
treeefcaab01538e3dbd8769b74b1d82fe0709af6b6e /test/binaryen.js/sourcemap.js
parentda3bb2ffcc8a6efd6a95a07f7de793d1362f4a07 (diff)
downloadbinaryen-4d65912ee77fd665a1bfff50d81e0aa896dab8a5.tar.gz
binaryen-4d65912ee77fd665a1bfff50d81e0aa896dab8a5.tar.bz2
binaryen-4d65912ee77fd665a1bfff50d81e0aa896dab8a5.zip
Merge-Blocks improvements (#1760)
Previously we didn't try to merge a block into the parent if the block had a name. This lets us merge part of it, that is: (block (..a..) (block $child (..b..) (.. some br to $child ..) (..c..) ) ) => (block (..a..) (..b..) ;; moved out (block $child (.. some br to $child ..) (..c..) ) ) This is beneficial for 2 reasons: the child may now be a singleton, so we can remove the block; or, now that we canonicalized the br-containing code to the head of the child, we may be able to turn it into an if.
Diffstat (limited to 'test/binaryen.js/sourcemap.js')
0 files changed, 0 insertions, 0 deletions