summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-09-02 11:54:54 -0700
committerGitHub <noreply@github.com>2020-09-02 11:54:54 -0700
commit7438b6cbcb9b194db59c0e5c497208ce57c964a9 (patch)
tree3a2fcff10e3cb8c4ff3738000c1adba25f42ba2a /src/wasm2js.h
parent89020a0b4074d18c3fedd0aec2b2aa900c538a1d (diff)
downloadbinaryen-7438b6cbcb9b194db59c0e5c497208ce57c964a9.tar.gz
binaryen-7438b6cbcb9b194db59c0e5c497208ce57c964a9.tar.bz2
binaryen-7438b6cbcb9b194db59c0e5c497208ce57c964a9.zip
MinifyImportsAndExports: Minify the memory and table as well. (#3089)
We were careful not to minify those, as well as the stack pointer, which makes sense in dynamic linking. But we don't run this pass in dynamic linking anyhow - we need the proper names of symbols in that case. So this was not helping us, and was just a leftover from an early state. This both a useful optimization and also important for #3043, as the wasm backend exports the table as __indirect_function_table - a much longer name than emscripten's table. So just changing to that would regress code size on small projects. Once we land this, the name won't matter as it will be minified anyhow.
Diffstat (limited to 'src/wasm2js.h')
0 files changed, 0 insertions, 0 deletions