From 75e8b709fe900efcfb53813f884a1cde6e81907b Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 7 Dec 2015 14:42:18 -0800 Subject: handle imports in wasm2asm --- test/unit.2asm.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/unit.2asm.js') 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; -- cgit v1.2.3