From e7e2fe18e406aae3cade9200884014eda1f41f51 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 7 Dec 2015 15:40:42 -0800 Subject: import Math.abs in wasm2asm output --- test/hello_world.2asm.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/hello_world.2asm.js') diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js index 650a4f551..ba054a28e 100644 --- a/test/hello_world.2asm.js +++ b/test/hello_world.2asm.js @@ -10,6 +10,7 @@ function asmFunc(global, env, buffer) { var HEAPF64 = new global.Float64Array(buffer); var Math_imul = global.Math.imul; var Math_fround = global.Math.fround; + var Math_abs = global.Math.abs; function add(x, y) { x = x | 0; y = y | 0; -- cgit v1.2.3