summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-03-30 10:25:50 -0700
committerGitHub <noreply@github.com>2021-03-30 10:25:50 -0700
commitcdac6b123b1231859dc0dfbcb88dfabe005855e3 (patch)
treece4fd0b980f07defcc310cd99bb14f11be3f2eb0 /src/wasm2js.h
parenta3ea08bd0588099225b5f2b1fb7e6f0ad49dddcb (diff)
downloadbinaryen-cdac6b123b1231859dc0dfbcb88dfabe005855e3.tar.gz
binaryen-cdac6b123b1231859dc0dfbcb88dfabe005855e3.tar.bz2
binaryen-cdac6b123b1231859dc0dfbcb88dfabe005855e3.zip
Fix DeadArgumentElimination pass on non-nullable locals (#3751)
In this case, there is a natural place to fix things up right after removing a parameter (which is where a local gets added). Doing it there avoids doing work on all functions unnecessarily. Note that we could do something even simpler here than calling the generic code: the parameter was not used, so the new local is not used, and we could just change the type of the local or not add it at all. Those would be slightly more code though, and add complexity to the parameter removal method itself.
Diffstat (limited to 'src/wasm2js.h')
0 files changed, 0 insertions, 0 deletions