summaryrefslogtreecommitdiff
path: root/test/wasm2asm.asserts.js
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2018-05-14 20:51:35 +0200
committerAlon Zakai <alonzakai@gmail.com>2018-05-14 11:51:35 -0700
commit689ca6b29a135b8eaa206d790f4a01562fbe5fe4 (patch)
tree718d3de280b07b662ed5424cbb45e9058976a13e /test/wasm2asm.asserts.js
parente086ef9ad169443b85b4d4c9d915bbd378276552 (diff)
downloadbinaryen-689ca6b29a135b8eaa206d790f4a01562fbe5fe4.tar.gz
binaryen-689ca6b29a135b8eaa206d790f4a01562fbe5fe4.tar.bz2
binaryen-689ca6b29a135b8eaa206d790f4a01562fbe5fe4.zip
wasm2asm: Add math aliases for floor, ceil and sqrt (#1549)
Diffstat (limited to 'test/wasm2asm.asserts.js')
-rw-r--r--test/wasm2asm.asserts.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/wasm2asm.asserts.js b/test/wasm2asm.asserts.js
index a2c59f641..0b347b02c 100644
--- a/test/wasm2asm.asserts.js
+++ b/test/wasm2asm.asserts.js
@@ -14,6 +14,9 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var Math_floor = global.Math.floor;
+ var Math_ceil = global.Math.ceil;
+ var Math_sqrt = global.Math.sqrt;
var i64toi32_i32$HIGH_BITS = 0;
function $0() {