summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/address.2asm.js1
-rw-r--r--test/binaryen.js/emit_asmjs.js.txt1
-rw-r--r--test/br_table_temp.2asm.js1
-rw-r--r--test/empty_imported_table.2asm.js1
-rw-r--r--test/empty_table.2asm.js1
-rw-r--r--test/float-ops.2asm.js1
-rw-r--r--test/forward.2asm.js1
-rw-r--r--test/grow_memory.2asm.js1
-rw-r--r--test/hello_world.2asm.js1
-rw-r--r--test/i32.2asm.js1
-rw-r--r--test/i64-add-sub.2asm.js1
-rw-r--r--test/i64-lowering.2asm.js1
-rw-r--r--test/unary-ops.2asm.js1
-rw-r--r--test/wasm2asm.asserts.js1
-rw-r--r--test/wasm2asm.traps.js1
15 files changed, 15 insertions, 0 deletions
diff --git a/test/address.2asm.js b/test/address.2asm.js
index 65c312313..a04fb44e3 100644
--- a/test/address.2asm.js
+++ b/test/address.2asm.js
@@ -15,6 +15,7 @@ function asmFunc(global, env, buffer) {
var Math_min = global.Math.min;
var Math_max = global.Math.max;
var print = env.print;
+ var i64toi32_i32$HIGH_BITS = 0;
function $0(i) {
i = i | 0;
var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, wasm2asm_i32$0 = 0;
diff --git a/test/binaryen.js/emit_asmjs.js.txt b/test/binaryen.js/emit_asmjs.js.txt
index a6206fe3f..d63b31b75 100644
--- a/test/binaryen.js/emit_asmjs.js.txt
+++ b/test/binaryen.js/emit_asmjs.js.txt
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function main($0) {
$0 = $0 | 0;
var $1 = 0;
diff --git a/test/br_table_temp.2asm.js b/test/br_table_temp.2asm.js
index fcb9c9e00..43045f33d 100644
--- a/test/br_table_temp.2asm.js
+++ b/test/br_table_temp.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function dummy() {
}
diff --git a/test/empty_imported_table.2asm.js b/test/empty_imported_table.2asm.js
index 276827473..cec84b05f 100644
--- a/test/empty_imported_table.2asm.js
+++ b/test/empty_imported_table.2asm.js
@@ -15,6 +15,7 @@ function asmFunc(global, env, buffer) {
var Math_min = global.Math.min;
var Math_max = global.Math.max;
var import$table$0 = env.table;
+ var i64toi32_i32$HIGH_BITS = 0;
function __wasm_ctz_i32(x) {
x = x | 0;
var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0;
diff --git a/test/empty_table.2asm.js b/test/empty_table.2asm.js
index 3a209950b..c8fb28b08 100644
--- a/test/empty_table.2asm.js
+++ b/test/empty_table.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function __wasm_ctz_i32(x) {
x = x | 0;
var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0;
diff --git a/test/float-ops.2asm.js b/test/float-ops.2asm.js
index 8ae6fbd7c..77de3408d 100644
--- a/test/float-ops.2asm.js
+++ b/test/float-ops.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function dummy() {
}
diff --git a/test/forward.2asm.js b/test/forward.2asm.js
index c447d8c19..8537c1373 100644
--- a/test/forward.2asm.js
+++ b/test/forward.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function even(n) {
n = n | 0;
var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
diff --git a/test/grow_memory.2asm.js b/test/grow_memory.2asm.js
index 9f650cbac..609db8d46 100644
--- a/test/grow_memory.2asm.js
+++ b/test/grow_memory.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function $0(var$0) {
var$0 = var$0 | 0;
var $1 = 0, $2 = 0;
diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js
index dd5966224..405e7916d 100644
--- a/test/hello_world.2asm.js
+++ b/test/hello_world.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function add(x, y) {
x = x | 0;
y = y | 0;
diff --git a/test/i32.2asm.js b/test/i32.2asm.js
index 7fe6c56de..4fa403fe8 100644
--- a/test/i32.2asm.js
+++ b/test/i32.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function $0(x, y) {
x = x | 0;
y = y | 0;
diff --git a/test/i64-add-sub.2asm.js b/test/i64-add-sub.2asm.js
index 721de6132..cb697a02e 100644
--- a/test/i64-add-sub.2asm.js
+++ b/test/i64-add-sub.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function dummy() {
}
diff --git a/test/i64-lowering.2asm.js b/test/i64-lowering.2asm.js
index ffa9e4f06..a9c48378d 100644
--- a/test/i64-lowering.2asm.js
+++ b/test/i64-lowering.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function dummy() {
}
diff --git a/test/unary-ops.2asm.js b/test/unary-ops.2asm.js
index 54841656b..6c3ffd2ba 100644
--- a/test/unary-ops.2asm.js
+++ b/test/unary-ops.2asm.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function dummy() {
}
diff --git a/test/wasm2asm.asserts.js b/test/wasm2asm.asserts.js
index b36b52c0b..dfc098408 100644
--- a/test/wasm2asm.asserts.js
+++ b/test/wasm2asm.asserts.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function $0() {
}
diff --git a/test/wasm2asm.traps.js b/test/wasm2asm.traps.js
index 351b6ba6f..f5b78edcd 100644
--- a/test/wasm2asm.traps.js
+++ b/test/wasm2asm.traps.js
@@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) {
var Math_clz32 = global.Math.clz32;
var Math_min = global.Math.min;
var Math_max = global.Math.max;
+ var i64toi32_i32$HIGH_BITS = 0;
function $0() {
}