summaryrefslogtreecommitdiff
path: root/test/wasm2js/i64-add-sub.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/i64-add-sub.2asm.js')
-rw-r--r--test/wasm2js/i64-add-sub.2asm.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/wasm2js/i64-add-sub.2asm.js b/test/wasm2js/i64-add-sub.2asm.js
index a5654efcc..419b96e39 100644
--- a/test/wasm2js/i64-add-sub.2asm.js
+++ b/test/wasm2js/i64-add-sub.2asm.js
@@ -10,8 +10,8 @@ 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, r, r$hi) {
- $0 = $0 | 0;
+ function $0($0_1, $0$hi, $1_1, $1$hi, r, r$hi) {
+ $0_1 = $0_1 | 0;
$0$hi = $0$hi | 0;
$1_1 = $1_1 | 0;
$1$hi = $1$hi | 0;
@@ -19,7 +19,7 @@ function asmFunc(imports) {
r$hi = r$hi | 0;
var i64toi32_i32$5 = 0, i64toi32_i32$3 = 0, i64toi32_i32$4 = 0, $5$hi = 0;
i64toi32_i32$3 = $1_1;
- i64toi32_i32$4 = $0 + i64toi32_i32$3 | 0;
+ i64toi32_i32$4 = $0_1 + i64toi32_i32$3 | 0;
i64toi32_i32$5 = $0$hi + $1$hi | 0;
if (i64toi32_i32$4 >>> 0 < i64toi32_i32$3 >>> 0) {
i64toi32_i32$5 = i64toi32_i32$5 + 1 | 0
@@ -31,8 +31,8 @@ function asmFunc(imports) {
return (i64toi32_i32$4 | 0) == (i64toi32_i32$3 | 0) & (i64toi32_i32$5 | 0) == (r$hi | 0) | 0 | 0;
}
- function $2($0, $0$hi, $1_1, $1$hi, r, r$hi) {
- $0 = $0 | 0;
+ function $1($0_1, $0$hi, $1_1, $1$hi, r, r$hi) {
+ $0_1 = $0_1 | 0;
$0$hi = $0$hi | 0;
$1_1 = $1_1 | 0;
$1$hi = $1$hi | 0;
@@ -42,7 +42,7 @@ function asmFunc(imports) {
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$3 = $1_1;
i64toi32_i32$5 = (i64toi32_i32$2 >>> 0 < i64toi32_i32$3 >>> 0) + $1$hi | 0;
i64toi32_i32$5 = i64toi32_i32$0 - i64toi32_i32$5 | 0;
@@ -55,16 +55,16 @@ function asmFunc(imports) {
return (i64toi32_i32$0 | 0) == (i64toi32_i32$3 | 0) & (i64toi32_i32$5 | 0) == (i64toi32_i32$2 | 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;
@@ -87,7 +87,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;
@@ -135,19 +135,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;
@@ -170,7 +170,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;
@@ -218,12 +218,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 {
- "check_add_i64": legalstub$1,
- "check_sub_i64": legalstub$2
+ "check_add_i64": legalstub$0,
+ "check_sub_i64": legalstub$1
};
}