diff options
author | Thomas Lively <tlively@google.com> | 2022-10-25 09:09:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 07:09:26 -0700 |
commit | 79e032ac1124f82729bb21684f370044612c7124 (patch) | |
tree | 2d369f5afb693dc5b8cc9e8f10cce9e33a528892 /src/passes/CodePushing.cpp | |
parent | 5245b8cdf64dad2e2b7c19b08fe22d2e6039ffa7 (diff) | |
download | binaryen-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