summaryrefslogtreecommitdiff
path: root/test/wasm2js/i64-lowering.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/i64-lowering.2asm.js.opt')
-rw-r--r--test/wasm2js/i64-lowering.2asm.js.opt116
1 files changed, 8 insertions, 108 deletions
diff --git a/test/wasm2js/i64-lowering.2asm.js.opt b/test/wasm2js/i64-lowering.2asm.js.opt
index e948447ce..eef1057f8 100644
--- a/test/wasm2js/i64-lowering.2asm.js.opt
+++ b/test/wasm2js/i64-lowering.2asm.js.opt
@@ -61,135 +61,35 @@ function asmFunc(global, env, buffer) {
}
function legalstub$3($0, $1, $2, $3_1) {
- var $4_1 = 0, $5_1 = 0;
- $5_1 = $0;
- $4_1 = 32;
- $0 = $4_1 & 31;
- if (32 >>> 0 <= $4_1 >>> 0) {
- $4_1 = $1 << $0;
- $0 = 0;
- } else {
- $4_1 = (1 << $0) - 1 & $1 >>> 32 - $0;
- $0 = $1 << $0;
- }
- $5_1 = $5_1 | $0;
- $1 = 32;
- $0 = $1 & 31;
- if (32 >>> 0 <= $1 >>> 0) {
- $1 = $3_1 << $0;
- $0 = 0;
- } else {
- $1 = (1 << $0) - 1 & $3_1 >>> 32 - $0;
- $0 = $3_1 << $0;
- }
- return $3($5_1, $4_1, $0 | $2, $1);
+ return $3($0, $1, $2, $3_1);
}
function legalstub$4($0, $1, $2, $3_1) {
- var $4_1 = 0, $5_1 = 0;
- $5_1 = $0;
- $4_1 = 32;
- $0 = $4_1 & 31;
- if (32 >>> 0 <= $4_1 >>> 0) {
- $4_1 = $1 << $0;
- $0 = 0;
- } else {
- $4_1 = (1 << $0) - 1 & $1 >>> 32 - $0;
- $0 = $1 << $0;
- }
- $5_1 = $5_1 | $0;
- $1 = 32;
- $0 = $1 & 31;
- if (32 >>> 0 <= $1 >>> 0) {
- $1 = $3_1 << $0;
- $0 = 0;
- } else {
- $1 = (1 << $0) - 1 & $3_1 >>> 32 - $0;
- $0 = $3_1 << $0;
- }
- return $4($5_1, $4_1, $0 | $2, $1);
+ return $4($0, $1, $2, $3_1);
}
function legalstub$5($0, $1, $2, $3_1) {
- var $4_1 = 0, $5_1 = 0;
- $5_1 = $0;
- $4_1 = 32;
- $0 = $4_1 & 31;
- if (32 >>> 0 <= $4_1 >>> 0) {
- $4_1 = $1 << $0;
- $0 = 0;
- } else {
- $4_1 = (1 << $0) - 1 & $1 >>> 32 - $0;
- $0 = $1 << $0;
- }
- $5_1 = $5_1 | $0;
- $1 = 32;
- $0 = $1 & 31;
- if (32 >>> 0 <= $1 >>> 0) {
- $1 = $3_1 << $0;
- $0 = 0;
- } else {
- $1 = (1 << $0) - 1 & $3_1 >>> 32 - $0;
- $0 = $3_1 << $0;
- }
- return $5($5_1, $4_1, $0 | $2, $1);
+ return $5($0, $1, $2, $3_1);
}
function legalstub$6($0, $1, $2, $3_1) {
- var $4_1 = 0, $5_1 = 0;
- $5_1 = $0;
- $4_1 = 32;
- $0 = $4_1 & 31;
- if (32 >>> 0 <= $4_1 >>> 0) {
- $4_1 = $1 << $0;
- $0 = 0;
- } else {
- $4_1 = (1 << $0) - 1 & $1 >>> 32 - $0;
- $0 = $1 << $0;
- }
- $5_1 = $5_1 | $0;
- $1 = 32;
- $0 = $1 & 31;
- if (32 >>> 0 <= $1 >>> 0) {
- $1 = $3_1 << $0;
- $0 = 0;
- } else {
- $1 = (1 << $0) - 1 & $3_1 >>> 32 - $0;
- $0 = $3_1 << $0;
- }
- return $6($5_1, $4_1, $0 | $2, $1);
+ return $6($0, $1, $2, $3_1);
}
function legalstub$7($0, $1, $2, $3_1) {
- var $4_1 = 0;
- $4_1 = $0;
- $0 = $1;
- $1 = $3_1;
- return ($0 | 0) == ($1 | 0) & $4_1 >>> 0 >= $2 >>> 0 | $0 >>> 0 > $1 >>> 0;
+ return ($1 | 0) == ($3_1 | 0) & $0 >>> 0 >= $2 >>> 0 | $1 >>> 0 > $3_1 >>> 0;
}
function legalstub$8($0, $1, $2, $3_1) {
- var $4_1 = 0;
- $4_1 = $0;
- $0 = $1;
- $1 = $3_1;
- return ($0 | 0) == ($1 | 0) & $4_1 >>> 0 > $2 >>> 0 | $0 >>> 0 > $1 >>> 0;
+ return ($1 | 0) == ($3_1 | 0) & $0 >>> 0 > $2 >>> 0 | $1 >>> 0 > $3_1 >>> 0;
}
function legalstub$9($0, $1, $2, $3_1) {
- var $4_1 = 0;
- $4_1 = $0;
- $0 = $1;
- $1 = $3_1;
- return ($0 | 0) == ($1 | 0) & $4_1 >>> 0 <= $2 >>> 0 | $0 >>> 0 < $1 >>> 0;
+ return ($1 | 0) == ($3_1 | 0) & $0 >>> 0 <= $2 >>> 0 | $1 >>> 0 < $3_1 >>> 0;
}
function legalstub$10($0, $1, $2, $3_1) {
- var $4_1 = 0;
- $4_1 = $0;
- $0 = $1;
- $1 = $3_1;
- return ($0 | 0) == ($1 | 0) & $4_1 >>> 0 < $2 >>> 0 | $0 >>> 0 < $1 >>> 0;
+ return ($1 | 0) == ($3_1 | 0) & $0 >>> 0 < $2 >>> 0 | $1 >>> 0 < $3_1 >>> 0;
}
var FUNCTION_TABLE = [];