summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-03-22 13:16:34 -0700
committerGitHub <noreply@github.com>2022-03-22 13:16:34 -0700
commitff762d2aabdb24e56db9fad1aaaa0561c80183b6 (patch)
tree32370618acfe1eab430a684bb23c1411153546e5 /src/wasm-builder.h
parent1ffea5761c4a9ddbdb2b1e6dc35d5346f2956b9c (diff)
downloadbinaryen-ff762d2aabdb24e56db9fad1aaaa0561c80183b6.tar.gz
binaryen-ff762d2aabdb24e56db9fad1aaaa0561c80183b6.tar.bz2
binaryen-ff762d2aabdb24e56db9fad1aaaa0561c80183b6.zip
[NFC] Refactor DeadArgumentElimination code to use LocalGraph (#4542)
I believe this old code was written before we had LocalGraph. It does a flow analysis to see if the values arriving in parameters are actually used, but there is no reason to do it manually since we have LocalGraph now which makes that trivial, as it matches the values for each get, so we can just check if any get can read the param's incoming value.
Diffstat (limited to 'src/wasm-builder.h')
0 files changed, 0 insertions, 0 deletions