summaryrefslogtreecommitdiff
path: root/test/wasm2js/switch.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-05-13 20:29:24 -0700
committerGitHub <noreply@github.com>2019-05-13 20:29:24 -0700
commit104d52a0e8c2e76e9496de7dae5f3e28fdd9b49e (patch)
treeea4e1bb6aae54838abb2d0245eb8496d87172153 /test/wasm2js/switch.2asm.js
parentb4eb90ce9bc43d9f3897bd13d6fd11f40f706b5a (diff)
downloadbinaryen-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