diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-11-01 19:14:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 19:14:35 -0700 |
commit | 0ed4d2fabb8dcfcdf4e5ca79480f75db476fec76 (patch) | |
tree | 315aefbc87d8b8a096c4acc2db5c4ad621dbd83f /test/threads.fromasm.no-opts | |
parent | c0977d3c25d3dc695677ba97df5eaae34ec63391 (diff) | |
download | binaryen-0ed4d2fabb8dcfcdf4e5ca79480f75db476fec76.tar.gz binaryen-0ed4d2fabb8dcfcdf4e5ca79480f75db476fec76.tar.bz2 binaryen-0ed4d2fabb8dcfcdf4e5ca79480f75db476fec76.zip |
Add pass to minify import and export names (#1719)
This new pass minifies import and export names, for example, this may minify
(import "env" "longname" (func $internal))
to
(import "env" "a" (func $internal))
By updating the JS that provides those imports/calls those exports, we can use the minified names properly. This can save a useful amount of space in the wasm and JS, see kripken/emscripten#7414
Diffstat (limited to 'test/threads.fromasm.no-opts')
0 files changed, 0 insertions, 0 deletions