summaryrefslogtreecommitdiff
path: root/src/passes/LegalizeJSInterface.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2019-02-26 16:15:04 -0800
committerGitHub <noreply@github.com>2019-02-26 16:15:04 -0800
commitc6237e8ea6236aa4a622cae64517cc3fd4f27b83 (patch)
tree0446fe737565914b63d2cf9cc56c29456ebe3f18 /src/passes/LegalizeJSInterface.cpp
parent8b698a87ba2c7891a8c17c07744bf3fcfe49f691 (diff)
downloadbinaryen-c6237e8ea6236aa4a622cae64517cc3fd4f27b83.tar.gz
binaryen-c6237e8ea6236aa4a622cae64517cc3fd4f27b83.tar.bz2
binaryen-c6237e8ea6236aa4a622cae64517cc3fd4f27b83.zip
Dead return value elimination in DeadArgumentElimination (#1917)
* Finds functions whose return value is always dropped, and removes the return. * Run multiple iterations of the pass, as one can enable others. * Do not run DeadArgumentElimination at all if debug info is present (with these improvements, it became much more likely to destroy debug info). Saves 2.5% on hello world, because of some simple libc calls.
Diffstat (limited to 'src/passes/LegalizeJSInterface.cpp')
0 files changed, 0 insertions, 0 deletions