summaryrefslogtreecommitdiff
path: root/test/wasm2js/i64-shifts.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/i64-shifts.2asm.js')
-rw-r--r--test/wasm2js/i64-shifts.2asm.js48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/wasm2js/i64-shifts.2asm.js b/test/wasm2js/i64-shifts.2asm.js
index 1a3a272be..82018a8e2 100644
--- a/test/wasm2js/i64-shifts.2asm.js
+++ b/test/wasm2js/i64-shifts.2asm.js
@@ -10,18 +10,18 @@ function asmFunc(imports) {
var Math_ceil = Math.ceil;
var Math_trunc = Math.trunc;
var Math_sqrt = Math.sqrt;
- function $1($0, $0$hi, $1_1, $1$hi, $2_1, $2$hi) {
- $0 = $0 | 0;
+ function $0($0_1, $0$hi, $1_1, $1$hi, $2, $2$hi) {
+ $0_1 = $0_1 | 0;
$0$hi = $0$hi | 0;
$1_1 = $1_1 | 0;
$1$hi = $1$hi | 0;
- $2_1 = $2_1 | 0;
+ $2 = $2 | 0;
$2$hi = $2$hi | 0;
var i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$2 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $12 = 0, $5$hi = 0;
i64toi32_i32$0 = $0$hi;
i64toi32_i32$0 = $1$hi;
i64toi32_i32$0 = $0$hi;
- i64toi32_i32$2 = $0;
+ i64toi32_i32$2 = $0_1;
i64toi32_i32$1 = $1$hi;
i64toi32_i32$3 = $1_1;
i64toi32_i32$4 = i64toi32_i32$3 & 31 | 0;
@@ -37,22 +37,22 @@ function asmFunc(imports) {
i64toi32_i32$1 = $5$hi;
i64toi32_i32$0 = $12;
i64toi32_i32$2 = $2$hi;
- i64toi32_i32$3 = $2_1;
+ i64toi32_i32$3 = $2;
return (i64toi32_i32$0 | 0) == (i64toi32_i32$3 | 0) & (i64toi32_i32$1 | 0) == (i64toi32_i32$2 | 0) | 0 | 0;
}
- function $2($0, $0$hi, $1_1, $1$hi, $2_1, $2$hi) {
- $0 = $0 | 0;
+ function $1($0_1, $0$hi, $1_1, $1$hi, $2, $2$hi) {
+ $0_1 = $0_1 | 0;
$0$hi = $0$hi | 0;
$1_1 = $1_1 | 0;
$1$hi = $1$hi | 0;
- $2_1 = $2_1 | 0;
+ $2 = $2 | 0;
$2$hi = $2$hi | 0;
var i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, i64toi32_i32$2 = 0, $12 = 0, $5$hi = 0;
i64toi32_i32$0 = $0$hi;
i64toi32_i32$0 = $1$hi;
i64toi32_i32$0 = $0$hi;
- i64toi32_i32$2 = $0;
+ i64toi32_i32$2 = $0_1;
i64toi32_i32$1 = $1$hi;
i64toi32_i32$3 = $1_1;
i64toi32_i32$4 = i64toi32_i32$3 & 31 | 0;
@@ -68,20 +68,20 @@ function asmFunc(imports) {
i64toi32_i32$1 = $5$hi;
i64toi32_i32$0 = $12;
i64toi32_i32$2 = $2$hi;
- i64toi32_i32$3 = $2_1;
+ i64toi32_i32$3 = $2;
return (i64toi32_i32$0 | 0) == (i64toi32_i32$3 | 0) & (i64toi32_i32$1 | 0) == ($2$hi | 0) | 0 | 0;
}
- function legalstub$1($0, $1_1, $2_1, $3, $4, $5) {
- $0 = $0 | 0;
+ function legalstub$0($0_1, $1_1, $2, $3, $4, $5) {
+ $0_1 = $0_1 | 0;
$1_1 = $1_1 | 0;
- $2_1 = $2_1 | 0;
+ $2 = $2 | 0;
$3 = $3 | 0;
$4 = $4 | 0;
$5 = $5 | 0;
var i64toi32_i32$0 = 0, i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $26 = 0, $27 = 0, $28 = 0, $7 = 0, $7$hi = 0, $10$hi = 0, $11 = 0, $11$hi = 0, $13 = 0, $13$hi = 0, $16$hi = 0, $17 = 0, $17$hi = 0, $19 = 0, $19$hi = 0, $22$hi = 0, $23 = 0, $23$hi = 0;
i64toi32_i32$0 = 0;
- $7 = $0;
+ $7 = $0_1;
$7$hi = i64toi32_i32$0;
i64toi32_i32$0 = 0;
i64toi32_i32$2 = $1_1;
@@ -104,7 +104,7 @@ function asmFunc(imports) {
$11 = i64toi32_i32$0 | i64toi32_i32$3 | 0;
$11$hi = i64toi32_i32$2;
i64toi32_i32$2 = 0;
- $13 = $2_1;
+ $13 = $2;
$13$hi = i64toi32_i32$2;
i64toi32_i32$2 = 0;
i64toi32_i32$1 = $3;
@@ -152,19 +152,19 @@ function asmFunc(imports) {
i64toi32_i32$0 = $11$hi;
i64toi32_i32$1 = $17$hi;
i64toi32_i32$2 = $23$hi;
- return $1($11 | 0, i64toi32_i32$0 | 0, $17 | 0, i64toi32_i32$1 | 0, $23 | 0, i64toi32_i32$2 | 0) | 0 | 0;
+ return $0($11 | 0, i64toi32_i32$0 | 0, $17 | 0, i64toi32_i32$1 | 0, $23 | 0, i64toi32_i32$2 | 0) | 0 | 0;
}
- function legalstub$2($0, $1_1, $2_1, $3, $4, $5) {
- $0 = $0 | 0;
+ function legalstub$1($0_1, $1_1, $2, $3, $4, $5) {
+ $0_1 = $0_1 | 0;
$1_1 = $1_1 | 0;
- $2_1 = $2_1 | 0;
+ $2 = $2 | 0;
$3 = $3 | 0;
$4 = $4 | 0;
$5 = $5 | 0;
var i64toi32_i32$0 = 0, i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $26 = 0, $27 = 0, $28 = 0, $7 = 0, $7$hi = 0, $10$hi = 0, $11 = 0, $11$hi = 0, $13 = 0, $13$hi = 0, $16$hi = 0, $17 = 0, $17$hi = 0, $19 = 0, $19$hi = 0, $22$hi = 0, $23 = 0, $23$hi = 0;
i64toi32_i32$0 = 0;
- $7 = $0;
+ $7 = $0_1;
$7$hi = i64toi32_i32$0;
i64toi32_i32$0 = 0;
i64toi32_i32$2 = $1_1;
@@ -187,7 +187,7 @@ function asmFunc(imports) {
$11 = i64toi32_i32$0 | i64toi32_i32$3 | 0;
$11$hi = i64toi32_i32$2;
i64toi32_i32$2 = 0;
- $13 = $2_1;
+ $13 = $2;
$13$hi = i64toi32_i32$2;
i64toi32_i32$2 = 0;
i64toi32_i32$1 = $3;
@@ -235,12 +235,12 @@ function asmFunc(imports) {
i64toi32_i32$0 = $11$hi;
i64toi32_i32$1 = $17$hi;
i64toi32_i32$2 = $23$hi;
- return $2($11 | 0, i64toi32_i32$0 | 0, $17 | 0, i64toi32_i32$1 | 0, $23 | 0, i64toi32_i32$2 | 0) | 0 | 0;
+ return $1($11 | 0, i64toi32_i32$0 | 0, $17 | 0, i64toi32_i32$1 | 0, $23 | 0, i64toi32_i32$2 | 0) | 0 | 0;
}
return {
- "shl_i64": legalstub$1,
- "shr_i64": legalstub$2
+ "shl_i64": legalstub$0,
+ "shr_i64": legalstub$1
};
}