diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-04-11 14:58:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 14:58:44 -0700 |
commit | 5f88dcdf0d308de12579d26d30f981b0689446af (patch) | |
tree | 7f39933ad9b58877c2e145be2504433b1b5bf1b0 /src/wasm/literal.cpp | |
parent | 5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6 (diff) | |
download | binaryen-5f88dcdf0d308de12579d26d30f981b0689446af.tar.gz binaryen-5f88dcdf0d308de12579d26d30f981b0689446af.tar.bz2 binaryen-5f88dcdf0d308de12579d26d30f981b0689446af.zip |
[Inlining] Preserve return_calls when possible (#4589)
We can preserve return_calls in inlined functions when the inlined call site is
itself a return_call, since the call result types must transitively match in
that case. This solves a problem where the previous inlining logic could
introduce stack exhaustion by downgrading recursive return_calls to normal
calls.
Fixes #4587.
Diffstat (limited to 'src/wasm/literal.cpp')
0 files changed, 0 insertions, 0 deletions