From 4ddbf14c65b0217720cc794838a75df8faaeb8c7 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 7 Dec 2015 15:29:47 -0800 Subject: emit Math.fround in wasm2asm --- test/unit.2asm.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/unit.2asm.js') diff --git a/test/unit.2asm.js b/test/unit.2asm.js index 4c6d4fc2b..1c06b34a4 100644 --- a/test/unit.2asm.js +++ b/test/unit.2asm.js @@ -9,6 +9,7 @@ function asmFunc(global, env, buffer) { var HEAPF32 = new global.Float32Array(buffer); var HEAPF64 = new global.Float64Array(buffer); var Math_imul = global.Math.imul; + var Math_fround = global.Math.fround; var f64_to_int = asm2wasm.f64_to_int; var f64_rem = asm2wasm.f64_rem; function big_negative() { -- cgit v1.2.3