summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-07 16:45:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-07 16:45:39 -0800
commit465a85fb977fd569f8f04cbc117f68d894b77a66 (patch)
tree829b7dc2dc9b8e4458e3c58fbcf5bad1b037d84a /test
parent246bf84adcba84abc96cc6910ca4b5a0898d6c46 (diff)
downloadbinaryen-465a85fb977fd569f8f04cbc117f68d894b77a66.tar.gz
binaryen-465a85fb977fd569f8f04cbc117f68d894b77a66.tar.bz2
binaryen-465a85fb977fd569f8f04cbc117f68d894b77a66.zip
import Math.clz32
Diffstat (limited to 'test')
-rw-r--r--test/emcc_O2_hello_world.2asm.js1
-rw-r--r--test/hello_world.2asm.js1
-rw-r--r--test/min.2asm.js1
-rw-r--r--test/unit.2asm.js1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/emcc_O2_hello_world.2asm.js b/test/emcc_O2_hello_world.2asm.js
index a6c665d01..94ec31957 100644
--- a/test/emcc_O2_hello_world.2asm.js
+++ b/test/emcc_O2_hello_world.2asm.js
@@ -11,6 +11,7 @@ function asmFunc(global, env, buffer) {
var Math_imul = global.Math.imul;
var Math_fround = global.Math.fround;
var Math_abs = global.Math.abs;
+ var Math_clz32 = global.Math.clz32;
var abort = env.abort;
var _pthread_cleanup_pop = env._pthread_cleanup_pop;
var _pthread_self = env._pthread_self;
diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js
index ba054a28e..c11126e24 100644
--- a/test/hello_world.2asm.js
+++ b/test/hello_world.2asm.js
@@ -11,6 +11,7 @@ function asmFunc(global, env, buffer) {
var Math_imul = global.Math.imul;
var Math_fround = global.Math.fround;
var Math_abs = global.Math.abs;
+ var Math_clz32 = global.Math.clz32;
function add(x, y) {
x = x | 0;
y = y | 0;
diff --git a/test/min.2asm.js b/test/min.2asm.js
index b8865aa81..2da358f1a 100644
--- a/test/min.2asm.js
+++ b/test/min.2asm.js
@@ -11,6 +11,7 @@ function asmFunc(global, env, buffer) {
var Math_imul = global.Math.imul;
var Math_fround = global.Math.fround;
var Math_abs = global.Math.abs;
+ var Math_clz32 = global.Math.clz32;
function floats(f) {
f = Math_fround(f);
var t = Math_fround(0);
diff --git a/test/unit.2asm.js b/test/unit.2asm.js
index 8e90926b0..5b31e589a 100644
--- a/test/unit.2asm.js
+++ b/test/unit.2asm.js
@@ -11,6 +11,7 @@ function asmFunc(global, env, buffer) {
var Math_imul = global.Math.imul;
var Math_fround = global.Math.fround;
var Math_abs = global.Math.abs;
+ var Math_clz32 = global.Math.clz32;
var f64_to_int = env.f64_to_int;
var f64_rem = env.f64_rem;
function big_negative() {