summaryrefslogtreecommitdiff
path: root/test/hello_world.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-06 18:00:38 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-06 18:00:38 -0800
commit43ddf341c47350db98618c49a5d0acb0af6960ab (patch)
tree58e02c3d105945e9cde41236c7646c6040352006 /test/hello_world.2asm.js
parent79d04e7fd2fc6a09f2318e227b1d68bfd3bc0325 (diff)
downloadbinaryen-43ddf341c47350db98618c49a5d0acb0af6960ab.tar.gz
binaryen-43ddf341c47350db98618c49a5d0acb0af6960ab.tar.bz2
binaryen-43ddf341c47350db98618c49a5d0acb0af6960ab.zip
coerce returns in wasm2asm
Diffstat (limited to 'test/hello_world.2asm.js')
-rw-r--r--test/hello_world.2asm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js
index eb13f89c9..a7437f64b 100644
--- a/test/hello_world.2asm.js
+++ b/test/hello_world.2asm.js
@@ -11,7 +11,7 @@ function asmFunc(global, env, buffer) {
function add(x, y) {
x = x | 0;
y = y | 0;
- return x + y | 0;
+ return x + y | 0 | 0;
}
}