diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-28 20:07:28 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-28 20:16:52 -0800 |
commit | d8f258e8e74b17d06ee7d94fc7c4dd3165819f0d (patch) | |
tree | 16c6706992f27a2e86fc9c112838aa168d2b637f /test/unit.asm.js | |
parent | 37b7e93a71e1a51fcb826cb2bce88f47bd396674 (diff) | |
download | binaryen-d8f258e8e74b17d06ee7d94fc7c4dd3165819f0d.tar.gz binaryen-d8f258e8e74b17d06ee7d94fc7c4dd3165819f0d.tar.bz2 binaryen-d8f258e8e74b17d06ee7d94fc7c4dd3165819f0d.zip |
be very careful when converting doubles to ints in asm2wasm
Diffstat (limited to 'test/unit.asm.js')
-rw-r--r-- | test/unit.asm.js | 4 |
1 files changed, 4 insertions, 0 deletions
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() { } |