diff options
author | Alon Zakai <azakai@google.com> | 2020-01-27 20:15:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 20:15:53 -0800 |
commit | bfff812cdfe3caccbceee73cee168326d4b9dc63 (patch) | |
tree | 29febd3bb3b2da31116e7296b9855227a536989b /test/binaryen.js/exception-handling.js | |
parent | 090a40518e21d36f31becc06f8f955945edb0fa1 (diff) | |
download | binaryen-bfff812cdfe3caccbceee73cee168326d4b9dc63.tar.gz binaryen-bfff812cdfe3caccbceee73cee168326d4b9dc63.tar.bz2 binaryen-bfff812cdfe3caccbceee73cee168326d4b9dc63.zip |
Optionally minify imported module names (#2620)
This replaces imports like env.foo with a.foo, which can
save a bunch of bytes when there are many imported
functions.
Note that by changing all the import names to a it ends
up requiring a single merged import module.
Note also that when doing this we modify all the imports,
minifying their modules and names (since it makes no
sense to be careful about minifying only modules known
to us - env/wasi - if we are minifyin the names of all
modules).
This will require an emscripten PR to benefit from it.
Diffstat (limited to 'test/binaryen.js/exception-handling.js')
0 files changed, 0 insertions, 0 deletions