From d8f258e8e74b17d06ee7d94fc7c4dd3165819f0d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 28 Nov 2015 20:07:28 -0800 Subject: be very careful when converting doubles to ints in asm2wasm --- test/unit.asm.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/unit.asm.js') diff --git a/test/unit.asm.js b/test/unit.asm.js index 1540beb72..cef639837 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -112,6 +112,10 @@ function () { x = -x; FUNCTION_TABLE_c[1 & 7](x); } + function ___syscall_ret() { + var $0 = 0; + ($0>>>0) > 4294963200; // -4096 + } function z() { } -- cgit v1.2.3