summaryrefslogtreecommitdiff
path: root/src/wasm-stack.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-11-18 13:20:20 -0800
committerGitHub <noreply@github.com>2020-11-18 13:20:20 -0800
commitf7547064e38bcc8518d6ebf1a2de0d7a76d6ad15 (patch)
tree6ff879becd4f4163828aee36a028319e5d0d99f7 /src/wasm-stack.h
parent1e527ec6c1553a47bceb60b6c70011552019b7e6 (diff)
downloadbinaryen-f7547064e38bcc8518d6ebf1a2de0d7a76d6ad15.tar.gz
binaryen-f7547064e38bcc8518d6ebf1a2de0d7a76d6ad15.tar.bz2
binaryen-f7547064e38bcc8518d6ebf1a2de0d7a76d6ad15.zip
[DeadArgumentElimination] Don't DAE a ref.func-ed class (#3380)
If we take a reference of a function, it is dangerous to change the function's type (which removing dead arguments does), as that would be an observable different from the outside - the type changes, and some params are now ignored, and others are reordered. In theory we could find out if the reference does not escape, but that's not trivial. Related to #3378 but not quite the same.
Diffstat (limited to 'src/wasm-stack.h')
0 files changed, 0 insertions, 0 deletions