summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-03-23 17:15:04 -0700
committerGitHub <noreply@github.com>2022-03-23 17:15:04 -0700
commit22d24fda983d471ebf73ebadbc37ef1741a5594d (patch)
tree6a29b74aebb04e7d7a0a03400c4eb041698315b1 /src/wasm-builder.h
parentff762d2aabdb24e56db9fad1aaaa0561c80183b6 (diff)
downloadbinaryen-22d24fda983d471ebf73ebadbc37ef1741a5594d.tar.gz
binaryen-22d24fda983d471ebf73ebadbc37ef1741a5594d.tar.bz2
binaryen-22d24fda983d471ebf73ebadbc37ef1741a5594d.zip
[NFC] Move and generalize parameter-removing logic from DeadArgumentElimination (#4544)
In preparation for removing dead arguments from all functions sharing a heap type (which seems useful for j2wasm output), first this PR refactors that code so it is reusable. This moves the code out of the pass into FunctionUtils, and also generalizes it slightly by supporting a set of functions and not just a single one, and receiving a list of call_refs and not just calls (no other changes to anything).
Diffstat (limited to 'src/wasm-builder.h')
0 files changed, 0 insertions, 0 deletions