summaryrefslogtreecommitdiff
path: root/test/grow_memory.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/grow_memory.2asm.js')
-rw-r--r--test/grow_memory.2asm.js16
1 files changed, 6 insertions, 10 deletions
diff --git a/test/grow_memory.2asm.js b/test/grow_memory.2asm.js
index 609db8d46..8f58b544e 100644
--- a/test/grow_memory.2asm.js
+++ b/test/grow_memory.2asm.js
@@ -17,29 +17,27 @@ function asmFunc(global, env, buffer) {
var i64toi32_i32$HIGH_BITS = 0;
function $0(var$0) {
var$0 = var$0 | 0;
- var $1 = 0, $2 = 0;
return __wasm_grow_memory(var$0 | 0) | 0;
}
function $1() {
- var $0 = 0;
return __wasm_current_memory() | 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;
- if ((x | 0) == (0 | 0)) $9 = 32; else $9 = 31 - Math_clz32(x ^ (x - 1 | 0) | 0) | 0;
- return $9 | 0;
+ var $1 = 0;
+ if ((x | 0) == (0 | 0)) $1 = 32; else $1 = 31 - Math_clz32(x ^ (x - 1 | 0) | 0) | 0;
+ return $1 | 0;
}
function __wasm_popcnt_i32(x) {
x = x | 0;
- var count = 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;
+ var count = 0, $2 = 0;
count = 0;
b : {
l : do {
- $5 = count;
+ $2 = count;
if ((x | 0) == (0 | 0)) break b;
x = x & (x - 1 | 0) | 0;
count = count + 1 | 0;
@@ -47,20 +45,18 @@ function asmFunc(global, env, buffer) {
break l;
} while (1);
};
- return $5 | 0;
+ return $2 | 0;
}
function __wasm_rotl_i32(x, k) {
x = x | 0;
k = k | 0;
- var $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;
return ((4294967295 >>> (k & 31 | 0) | 0) & x | 0) << (k & 31 | 0) | 0 | (((4294967295 << (32 - (k & 31 | 0) | 0) | 0) & x | 0) >>> (32 - (k & 31 | 0) | 0) | 0) | 0 | 0;
}
function __wasm_rotr_i32(x, k) {
x = x | 0;
k = k | 0;
- var $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;
return ((4294967295 << (k & 31 | 0) | 0) & x | 0) >>> (k & 31 | 0) | 0 | (((4294967295 >>> (32 - (k & 31 | 0) | 0) | 0) & x | 0) << (32 - (k & 31 | 0) | 0) | 0) | 0 | 0;
}