diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-02-26 16:15:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 16:15:04 -0800 |
commit | c6237e8ea6236aa4a622cae64517cc3fd4f27b83 (patch) | |
tree | 0446fe737565914b63d2cf9cc56c29456ebe3f18 /src/passes/CodePushing.cpp | |
parent | 8b698a87ba2c7891a8c17c07744bf3fcfe49f691 (diff) | |
download | binaryen-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/CodePushing.cpp')
0 files changed, 0 insertions, 0 deletions