summaryrefslogtreecommitdiff
path: root/test/wasm2js/stack-modified.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/stack-modified.2asm.js.opt')
-rw-r--r--test/wasm2js/stack-modified.2asm.js.opt45
1 files changed, 22 insertions, 23 deletions
diff --git a/test/wasm2js/stack-modified.2asm.js.opt b/test/wasm2js/stack-modified.2asm.js.opt
index 87b18bd9f..87edb791d 100644
--- a/test/wasm2js/stack-modified.2asm.js.opt
+++ b/test/wasm2js/stack-modified.2asm.js.opt
@@ -48,23 +48,22 @@ function asmFunc(global, env, buffer) {
}
function legalstub$0($0_1, $1) {
- var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- $5 = $0_1;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0;
+ $4 = $0_1;
$3 = 32;
$0_1 = $3 & 31;
if (32 >>> 0 <= $3 >>> 0) {
{
$2 = $1 << $0_1;
- $4 = 0;
+ $0_1 = 0;
}
} else {
{
$2 = (1 << $0_1) - 1 & $1 >>> 32 - $0_1 | $2 << $0_1;
- $4 = $1 << $0_1;
+ $0_1 = $1 << $0_1;
}
}
- $1 = $0($5 | $4, $2 | $6);
- $6 = $1;
+ $1 = $0($4 | $0_1, $2 | $5);
$2 = i64toi32_i32$HIGH_BITS;
$0_1 = 32 & 31;
setTempRet0((32 >>> 0 <= $3 >>> 0 ? $2 >>> $0_1 : ((1 << $0_1) - 1 & $2) << 32 - $0_1 | $1 >>> $0_1) | 0);
@@ -72,38 +71,38 @@ function asmFunc(global, env, buffer) {
}
function _ZN17compiler_builtins3int3mul3Mul3mul17h070e9a1c69faec5bE($0_1, $1, $2, $3) {
- var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0;
- $4 = $2 >>> 16;
- $5 = $0_1 >>> 16;
- $7 = Math_imul($4, $5);
+ var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0;
+ $5 = $2 >>> 16;
+ $6 = $0_1 >>> 16;
+ $4 = Math_imul($5, $6);
$8 = $2 & 65535;
- $6 = $0_1 & 65535;
- $9 = Math_imul($8, $6);
- $5 = ($9 >>> 16) + Math_imul($5, $8) | 0;
- $4 = ($5 & 65535) + Math_imul($4, $6) | 0;
+ $7 = $0_1 & 65535;
+ $9 = Math_imul($8, $7);
+ $6 = ($9 >>> 16) + Math_imul($6, $8) | 0;
+ $5 = ($6 & 65535) + Math_imul($5, $7) | 0;
$8 = 0;
- $11 = $7;
- $6 = $0_1;
- $7 = 32;
- $0_1 = $7 & 31;
- $12 = $11 + Math_imul(32 >>> 0 <= $7 >>> 0 ? $1 >>> $0_1 : ((1 << $0_1) - 1 & $1) << 32 - $0_1 | $6 >>> $0_1, $2) | 0;
+ $10 = $4;
+ $7 = $0_1;
+ $4 = 32;
+ $0_1 = $4 & 31;
+ $4 = $10 + Math_imul(32 >>> 0 <= $4 >>> 0 ? $1 >>> $0_1 : ((1 << $0_1) - 1 & $1) << 32 - $0_1 | $7 >>> $0_1, $2) | 0;
$1 = $2;
$2 = 32;
$0_1 = $2 & 31;
- $1 = (($12 + Math_imul($6, 32 >>> 0 <= $2 >>> 0 ? $3 >>> $0_1 : ((1 << $0_1) - 1 & $3) << 32 - $0_1 | $1 >>> $0_1) | 0) + ($5 >>> 16) | 0) + ($4 >>> 16) | 0;
+ $1 = (($4 + Math_imul($7, 32 >>> 0 <= $2 >>> 0 ? $3 >>> $0_1 : ((1 << $0_1) - 1 & $3) << 32 - $0_1 | $1 >>> $0_1) | 0) + ($6 >>> 16) | 0) + ($5 >>> 16) | 0;
$0_1 = 32 & 31;
if (32 >>> 0 <= $2 >>> 0) {
{
$2 = $1 << $0_1;
- $10 = 0;
+ $0_1 = 0;
}
} else {
{
$2 = (1 << $0_1) - 1 & $1 >>> 32 - $0_1 | $8 << $0_1;
- $10 = $1 << $0_1;
+ $0_1 = $1 << $0_1;
}
}
- $0_1 = $10 | ($9 & 65535 | $4 << 16);
+ $0_1 = $0_1 | ($9 & 65535 | $5 << 16);
i64toi32_i32$HIGH_BITS = $2;
return $0_1;
}