diff options
author | Alon Zakai <azakai@google.com> | 2019-05-13 20:29:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 20:29:24 -0700 |
commit | 104d52a0e8c2e76e9496de7dae5f3e28fdd9b49e (patch) | |
tree | ea4e1bb6aae54838abb2d0245eb8496d87172153 /test/wasm2js/switch.2asm.js | |
parent | b4eb90ce9bc43d9f3897bd13d6fd11f40f706b5a (diff) | |
download | binaryen-104d52a0e8c2e76e9496de7dae5f3e28fdd9b49e.tar.gz binaryen-104d52a0e8c2e76e9496de7dae5f3e28fdd9b49e.tar.bz2 binaryen-104d52a0e8c2e76e9496de7dae5f3e28fdd9b49e.zip |
wasm2js: Emit table in a way that is friendly to emscripten minification (#2102)
Set it to a local in the asmFunc scope, so that minifiers can easily see it's a simple local value (instead of using it as an upvar from the parameters higher up, which was how the emscripten glue was emitting it).
Diffstat (limited to 'test/wasm2js/switch.2asm.js')
0 files changed, 0 insertions, 0 deletions