aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-outline1-output.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-js-optimizer-asm-outline1-output.js')
-rw-r--r--tools/test-js-optimizer-asm-outline1-output.js40
1 files changed, 30 insertions, 10 deletions
diff --git a/tools/test-js-optimizer-asm-outline1-output.js b/tools/test-js-optimizer-asm-outline1-output.js
index 9f4790de..6ef32f54 100644
--- a/tools/test-js-optimizer-asm-outline1-output.js
+++ b/tools/test-js-optimizer-asm-outline1-output.js
@@ -48,9 +48,14 @@ function lin3() {
HEAP32[sp + 0 >> 2] = 0;
HEAP32[sp + 8 >> 2] = 0;
sp = lin3$0(sp) | 0;
- if ((HEAP32[sp + 0 >> 2] | 0) == 6) {
+ tempValue = HEAP32[sp + 0 >> 2] | 0;
+ tempInt = HEAP32[sp + 8 >> 2] | 0;
+ tempDouble = +HEAPF32[sp + 8 >> 2];
+ HEAP32[sp + 0 >> 2] = 0;
+ HEAP32[sp + 8 >> 2] = 0;
+ if ((tempValue | 0) == 6) {
STACKTOP = sp;
- return HEAP32[sp + 8 >> 2] | 0;
+ return tempInt | 0;
}
}
STACKTOP = sp;
@@ -71,7 +76,12 @@ function lin4() {
HEAP32[sp + 0 >> 2] = 0;
HEAP32[sp + 8 >> 2] = 0;
sp = lin4$0(sp) | 0;
- if ((HEAP32[sp + 0 >> 2] | 0) == 1) {
+ tempValue = HEAP32[sp + 0 >> 2] | 0;
+ tempInt = HEAP32[sp + 8 >> 2] | 0;
+ tempDouble = +HEAPF32[sp + 8 >> 2];
+ HEAP32[sp + 0 >> 2] = 0;
+ HEAP32[sp + 8 >> 2] = 0;
+ if ((tempValue | 0) == 1) {
break;
}
}
@@ -93,7 +103,12 @@ function lin5() {
HEAP32[sp + 0 >> 2] = 0;
HEAP32[sp + 8 >> 2] = 0;
sp = lin5$0(sp) | 0;
- if ((HEAP32[sp + 0 >> 2] | 0) == 3) {
+ tempValue = HEAP32[sp + 0 >> 2] | 0;
+ tempInt = HEAP32[sp + 8 >> 2] | 0;
+ tempDouble = +HEAPF32[sp + 8 >> 2];
+ HEAP32[sp + 0 >> 2] = 0;
+ HEAP32[sp + 8 >> 2] = 0;
+ if ((tempValue | 0) == 3) {
continue;
}
}
@@ -118,22 +133,27 @@ function mix() {
HEAP32[sp + 0 >> 2] = 0;
HEAP32[sp + 8 >> 2] = 0;
sp = mix$0(sp) | 0;
- if ((HEAP32[sp + 0 >> 2] | 0) == 1) {
+ tempValue = HEAP32[sp + 0 >> 2] | 0;
+ tempInt = HEAP32[sp + 8 >> 2] | 0;
+ tempDouble = +HEAPF32[sp + 8 >> 2];
+ HEAP32[sp + 0 >> 2] = 0;
+ HEAP32[sp + 8 >> 2] = 0;
+ if ((tempValue | 0) == 1) {
break;
}
- if ((HEAP32[sp + 0 >> 2] | 0) == 2) {
- switch (HEAP32[sp + 8 >> 2] | 0) {
+ if ((tempValue | 0) == 2) {
+ switch (tempInt | 0) {
case 2:
{
break main;
}
}
}
- if ((HEAP32[sp + 0 >> 2] | 0) == 3) {
+ if ((tempValue | 0) == 3) {
continue;
}
- if ((HEAP32[sp + 0 >> 2] | 0) == 4) {
- switch (HEAP32[sp + 8 >> 2] | 0) {
+ if ((tempValue | 0) == 4) {
+ switch (tempInt | 0) {
case 3:
{
continue main;