diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-12-07 15:29:47 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-12-07 15:29:47 -0800 |
commit | 4ddbf14c65b0217720cc794838a75df8faaeb8c7 (patch) | |
tree | ab6c921529c0651faee5164bc5d7213d17f5f0d9 /test/hello_world.2asm.js | |
parent | f9782b01cd76e76d5921a7e526e2e4577dbf29e4 (diff) | |
download | binaryen-4ddbf14c65b0217720cc794838a75df8faaeb8c7.tar.gz binaryen-4ddbf14c65b0217720cc794838a75df8faaeb8c7.tar.bz2 binaryen-4ddbf14c65b0217720cc794838a75df8faaeb8c7.zip |
emit Math.fround in wasm2asm
Diffstat (limited to 'test/hello_world.2asm.js')
-rw-r--r-- | test/hello_world.2asm.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js index 46cd7465b..650a4f551 100644 --- a/test/hello_world.2asm.js +++ b/test/hello_world.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; function add(x, y) { x = x | 0; y = y | 0; |