diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-12-07 14:42:18 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-12-07 14:42:18 -0800 |
commit | 75e8b709fe900efcfb53813f884a1cde6e81907b (patch) | |
tree | ab2f1f164b65c4f10196656ec00e78ae8fb606c6 /test/unit.2asm.js | |
parent | 0fb0a68db70f2720d93a182129e73e4a0eaeb3cb (diff) | |
download | binaryen-75e8b709fe900efcfb53813f884a1cde6e81907b.tar.gz binaryen-75e8b709fe900efcfb53813f884a1cde6e81907b.tar.bz2 binaryen-75e8b709fe900efcfb53813f884a1cde6e81907b.zip |
handle imports in wasm2asm
Diffstat (limited to 'test/unit.2asm.js')
-rw-r--r-- | test/unit.2asm.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit.2asm.js b/test/unit.2asm.js index 104b7c22c..a8320d77c 100644 --- a/test/unit.2asm.js +++ b/test/unit.2asm.js @@ -9,6 +9,8 @@ function asmFunc(global, env, buffer) { var HEAPF32 = new global.Float32Array(buffer); var HEAPF64 = new global.Float64Array(buffer); var Math_imul = global.Math.imul; + var f64_to_int = asm2wasm.f64_to_int; + var f64_rem = asm2wasm.f64_rem; function big_negative() { var temp = 0.0; temp = -2147483648.0; |