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/min.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/min.2asm.js')
-rw-r--r-- | test/min.2asm.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/min.2asm.js b/test/min.2asm.js index 84175c490..512af46fe 100644 --- a/test/min.2asm.js +++ b/test/min.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 floats(f) { f = Math_fround(f); var t = Math_fround(0); |