summaryrefslogtreecommitdiff
path: root/test/wasm2js/emscripten.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/emscripten.2asm.js.opt')
-rw-r--r--test/wasm2js/emscripten.2asm.js.opt6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/wasm2js/emscripten.2asm.js.opt b/test/wasm2js/emscripten.2asm.js.opt
index 5d14ea4b3..57df79dfc 100644
--- a/test/wasm2js/emscripten.2asm.js.opt
+++ b/test/wasm2js/emscripten.2asm.js.opt
@@ -185,14 +185,16 @@ function asmFunc(env) {
function bools($0) {
$0 = $0 | 0;
+ var $1 = 0;
bools(HEAP8[0] & 1);
bools(HEAP8[0] & 1);
bools(HEAP16[0] & 1);
bools(HEAP16[0] & 1);
bools(HEAP32[0] & 1);
bools(HEAPU8[0] & 2);
- bools($0 ^ 1);
- if ($0 ^ 1) {
+ $1 = $0 ^ 1;
+ bools($1);
+ if ($1) {
bools(2)
}
if ($0 ^ 2) {