summaryrefslogtreecommitdiff
path: root/test/gtest/possible-contents.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-04-29 13:17:14 -0700
committerGitHub <noreply@github.com>2024-04-29 13:17:14 -0700
commitbe001f7e214c31ee1d7864a7081634b8986d72bf (patch)
tree87a7d609cffbb86b72b05d9cca881cce697dfa2c /test/gtest/possible-contents.cpp
parentdcc5b7ba0149a85d2784520c262b83df488705f5 (diff)
downloadbinaryen-be001f7e214c31ee1d7864a7081634b8986d72bf.tar.gz
binaryen-be001f7e214c31ee1d7864a7081634b8986d72bf.tar.bz2
binaryen-be001f7e214c31ee1d7864a7081634b8986d72bf.zip
[Parser] Re-use blocks instead of wrapping where possible (#6552)
When the input has branches to block scope, IR builder generally has to add a wrapper block with a label name for the branch to target. To reduce the parsed IR size, add a special case for when the wrapped expression is already an unnamed block. In that case we can simply add the label to the existing block instead of creating a new wrapper block.
Diffstat (limited to 'test/gtest/possible-contents.cpp')
0 files changed, 0 insertions, 0 deletions