diff options
author | Alon Zakai <azakai@google.com> | 2022-10-05 09:14:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-05 09:14:03 -0700 |
commit | 9b5ba422bf670754a5ac4fb39b0199ac8e1edb84 (patch) | |
tree | 9c78e7ea6bd678ee363023703e83f8c0f98ea265 /scripts/wasm2js.js | |
parent | d0e92fe7ce9f8f5cb668b1b7d5360dfb47ad5b80 (diff) | |
download | binaryen-9b5ba422bf670754a5ac4fb39b0199ac8e1edb84.tar.gz binaryen-9b5ba422bf670754a5ac4fb39b0199ac8e1edb84.tar.bz2 binaryen-9b5ba422bf670754a5ac4fb39b0199ac8e1edb84.zip |
[GUFA] Fix call.without.effects's handling of the last parameter (#5111)
The last parameter is the function to call, and we treated it like a normal parameter.
This is mostly only an issue during debugging, but in theory sending this extra value
could cause us to optimize less later (since it gets added to what the local of that
index can contain).
Also add assertions which would have caught this before.
Diffstat (limited to 'scripts/wasm2js.js')
0 files changed, 0 insertions, 0 deletions