From 538e2d9813dd46e76aa226143b978f2b1acfb8e6 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 5 Dec 2015 17:53:36 -0800 Subject: call coercions in wasm2asm --- test/unit.2asm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit.2asm.js') diff --git a/test/unit.2asm.js b/test/unit.2asm.js index ffc03b240..daf81c3b8 100644 --- a/test/unit.2asm.js +++ b/test/unit.2asm.js @@ -61,7 +61,7 @@ function asmFunc() { function conversions() { var i = 0, d = 0.0; { - i = f64-to-int(d); + i = f64-to-int(d) | 0; d = +i; d = +((i >>> 0 | 0) >>> 0); } @@ -100,7 +100,7 @@ function asmFunc() { } function frem() { - return f64-rem(5.5, 1.2); + return +f64-rem(5.5, 1.2); } function big_uint_div_u() { -- cgit v1.2.3