summaryrefslogtreecommitdiff
path: root/src/passes/CodePushing.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-25 09:09:26 -0500
committerGitHub <noreply@github.com>2022-10-25 07:09:26 -0700
commit79e032ac1124f82729bb21684f370044612c7124 (patch)
tree2d369f5afb693dc5b8cc9e8f10cce9e33a528892 /src/passes/CodePushing.cpp
parent5245b8cdf64dad2e2b7c19b08fe22d2e6039ffa7 (diff)
downloadbinaryen-79e032ac1124f82729bb21684f370044612c7124.tar.gz
binaryen-79e032ac1124f82729bb21684f370044612c7124.tar.bz2
binaryen-79e032ac1124f82729bb21684f370044612c7124.zip
[Parser] Parse `return` (#5181)
Unlike in the legacy parser, we cannot depend on the folded text format to determine how many values to return, so we determine that solely based on the current function context. To handle multivalue return correctly, fix a bug in which we could synthesize new `unreachable`s and place them before existing unreachable instructions (like returns) at the end of instruction sequences.
Diffstat (limited to 'src/passes/CodePushing.cpp')
0 files changed, 0 insertions, 0 deletions