summaryrefslogtreecommitdiff
path: root/test/wasm2js/switch.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-05-02 14:17:49 -0700
committerGitHub <noreply@github.com>2019-05-02 14:17:49 -0700
commit29e7e4483dc04ca8e882f12871c7eb395c82de00 (patch)
tree40b968dfef03b6cb4b877850bce1c2507e2bc8df /test/wasm2js/switch.2asm.js
parentb394fcc887dbb2e02b5ff5b307004e4dc7ec2baf (diff)
downloadbinaryen-29e7e4483dc04ca8e882f12871c7eb395c82de00.tar.gz
binaryen-29e7e4483dc04ca8e882f12871c7eb395c82de00.tar.bz2
binaryen-29e7e4483dc04ca8e882f12871c7eb395c82de00.zip
wasm2js: ignore implicit traps (#2079)
We don't actually try to emit traps for loads, stores, invalid float to ints, etc., so when optimizing we may as well do so under the assumption those traps do not exist. This lets us emit nice code for a select whose operands are loads, for example - otherwise, the values seem to have side effects.
Diffstat (limited to 'test/wasm2js/switch.2asm.js')
0 files changed, 0 insertions, 0 deletions