diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-05-04 16:35:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 16:35:49 -0700 |
commit | dbe49a6238f8a8df2d1a648fe0659916aad00c35 (patch) | |
tree | 17321d0a9699f258b1ac9c073b790bb8642d928b /bin/wasm.js | |
parent | 21dc96b1852d6dbadedfec3336980be3f7bc7d45 (diff) | |
download | binaryen-dbe49a6238f8a8df2d1a648fe0659916aad00c35.tar.gz binaryen-dbe49a6238f8a8df2d1a648fe0659916aad00c35.tar.bz2 binaryen-dbe49a6238f8a8df2d1a648fe0659916aad00c35.zip |
improve remove-unused-module-elements (#1532)
Remove the entire memory/table when possible, in particular, when not imported, exported, or used. Previously we did not look at whether they were imported, so we assumed we could never remove them.
Also add a variant that removes everything but functions, which can be useful when reducing a testcase that only cares about code in functions.
Diffstat (limited to 'bin/wasm.js')
0 files changed, 0 insertions, 0 deletions