summaryrefslogtreecommitdiff
path: root/test/wasm2js/br_table.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2019-04-22 14:00:35 -0700
committerGitHub <noreply@github.com>2019-04-22 14:00:35 -0700
commitff710e63eaed7cf8fbf3042843f6243597da49be (patch)
tree204c03398c17c136690a2798d099554e6698f4f2 /test/wasm2js/br_table.2asm.js
parentf87de2ae0d430f8d4204df8fceb194c24e29b413 (diff)
downloadbinaryen-ff710e63eaed7cf8fbf3042843f6243597da49be.tar.gz
binaryen-ff710e63eaed7cf8fbf3042843f6243597da49be.tar.bz2
binaryen-ff710e63eaed7cf8fbf3042843f6243597da49be.zip
wasm2js: unreachability fixes (#2037)
Also test in pass-debug mode, for better coverage.
Diffstat (limited to 'test/wasm2js/br_table.2asm.js')
-rw-r--r--test/wasm2js/br_table.2asm.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/wasm2js/br_table.2asm.js b/test/wasm2js/br_table.2asm.js
index bd66eb523..849d11945 100644
--- a/test/wasm2js/br_table.2asm.js
+++ b/test/wasm2js/br_table.2asm.js
@@ -49973,7 +49973,7 @@ function asmFunc(global, env, buffer) {
}
function $54() {
- var i64toi32_i32$0 = 0, $1_1 = 0, $1$hi = 0;
+ var i64toi32_i32$0 = 0, $1_1 = 0, $1$hi = 0, i64toi32_i32$1 = 0;
block : {
i64toi32_i32$0 = 0;
$1_1 = 45;
@@ -49983,8 +49983,8 @@ function asmFunc(global, env, buffer) {
break block;
};
}
- i64toi32_i32$0 = $1$hi;
- i64toi32_i32$HIGH_BITS = i64toi32_i32$0;
+ i64toi32_i32$1 = $1$hi;
+ i64toi32_i32$HIGH_BITS = i64toi32_i32$1;
return $1_1 | 0;
}