summaryrefslogtreecommitdiff
path: root/test/wasm2js/f32.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2019-04-22 16:22:10 -0700
committerGitHub <noreply@github.com>2019-04-22 16:22:10 -0700
commit7fe2701d3bcbea625405f7b8c852aa3154face6b (patch)
treead4f4228f293dcbbb4ccb29afaee218d3910c268 /test/wasm2js/f32.2asm.js
parent831a774641b63bc4980eb6e71b1c59d92d19fb4d (diff)
downloadbinaryen-7fe2701d3bcbea625405f7b8c852aa3154face6b.tar.gz
binaryen-7fe2701d3bcbea625405f7b8c852aa3154face6b.tar.bz2
binaryen-7fe2701d3bcbea625405f7b8c852aa3154face6b.zip
wasm2js: remove more code we don't need since we have flat IR (#2039)
Also run remove-unused-names which became more noticeably necessary after this change.
Diffstat (limited to 'test/wasm2js/f32.2asm.js')
-rw-r--r--test/wasm2js/f32.2asm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/wasm2js/f32.2asm.js b/test/wasm2js/f32.2asm.js
index cd53439c3..c6ee933ca 100644
--- a/test/wasm2js/f32.2asm.js
+++ b/test/wasm2js/f32.2asm.js
@@ -203,7 +203,7 @@ function asmFunc(global, env, buffer) {
var$1 = Math_fround(Math_floor(var$0));
var$2 = Math_fround(var$0 - var$1);
if ((var$2 < Math_fround(.5) | 0) == (0 | 0)) {
- block : {
+ {
var$0 = Math_fround(Math_ceil(var$0));
if (var$2 > Math_fround(.5)) {
return Math_fround(var$0)