summaryrefslogtreecommitdiff
path: root/test/hello_world.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-07 15:40:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-07 15:40:42 -0800
commite7e2fe18e406aae3cade9200884014eda1f41f51 (patch)
tree0d254bf2266c880d078922fc07b3de242bfb9a73 /test/hello_world.2asm.js
parent4ef7b2ef49787bc22a73a13b24819a43d7d133d6 (diff)
downloadbinaryen-e7e2fe18e406aae3cade9200884014eda1f41f51.tar.gz
binaryen-e7e2fe18e406aae3cade9200884014eda1f41f51.tar.bz2
binaryen-e7e2fe18e406aae3cade9200884014eda1f41f51.zip
import Math.abs in wasm2asm output
Diffstat (limited to 'test/hello_world.2asm.js')
-rw-r--r--test/hello_world.2asm.js1
1 files changed, 1 insertions, 0 deletions
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;