aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-outline2-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-25 13:00:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-25 13:00:53 -0700
commit6309dc12dc0f41f2be726662a473fbfc0f5c4851 (patch)
tree38eabb0ef8e7be776904ff3465bd1c7d2cee0dac /tools/test-js-optimizer-asm-outline2-output.js
parent50d86717964d0121878630d873b9b7e0b4c84712 (diff)
do not outline sp assignments, because we need sp to perform an outline call
Diffstat (limited to 'tools/test-js-optimizer-asm-outline2-output.js')
-rw-r--r--tools/test-js-optimizer-asm-outline2-output.js15
1 files changed, 5 insertions, 10 deletions
diff --git a/tools/test-js-optimizer-asm-outline2-output.js b/tools/test-js-optimizer-asm-outline2-output.js
index 33b37956..1f1e3776 100644
--- a/tools/test-js-optimizer-asm-outline2-output.js
+++ b/tools/test-js-optimizer-asm-outline2-output.js
@@ -13,10 +13,10 @@ function linear() {
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
HEAP32[sp + 16 >> 2] = 0;
HEAP32[sp + 20 >> 2] = 0;
- sp = linear$1(sp) | 0;
+ linear$1(sp);
HEAP32[sp + 8 >> 2] = 0;
HEAP32[sp + 12 >> 2] = 0;
- sp = linear$0(sp) | 0;
+ linear$0(sp);
STACKTOP = sp;
}
function _free($mem) {
@@ -59,7 +59,7 @@ function _free($mem) {
HEAP32[sp + 16 >> 2] = $5;
HEAP32[sp + 224 >> 2] = $p_0;
HEAP32[sp + 216 >> 2] = $psize_0;
- sp = _free$1(sp) | 0;
+ _free$1(sp);
$p_0 = HEAP32[sp + 224 >> 2] | 0;
$psize_0 = HEAP32[sp + 216 >> 2] | 0;
tempValue = HEAP32[sp + 672 >> 2] | 0;
@@ -105,7 +105,7 @@ function _free($mem) {
HEAP32[sp + 232 >> 2] = $189;
HEAP32[sp + 8 >> 2] = $mem;
HEAP32[sp + 24 >> 2] = $10;
- sp = _free$2(sp) | 0;
+ _free$2(sp);
tempValue = HEAP32[sp + 680 >> 2] | 0;
tempInt = HEAP32[sp + 684 >> 2] | 0;
tempDouble = +HEAPF32[sp + 684 >> 2];
@@ -130,7 +130,6 @@ function linear$0(sp) {
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
- return sp | 0;
}
function linear$1(sp) {
sp = sp | 0;
@@ -147,7 +146,6 @@ function linear$1(sp) {
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
cheez(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0);
- return sp | 0;
}
function _free$0(sp) {
sp = sp | 0;
@@ -339,7 +337,6 @@ function _free$0(sp) {
break OL;
} while (0);
HEAP32[sp + 424 >> 2] = $psize_1;
- return sp | 0;
}
function _free$1(sp) {
sp = sp | 0;
@@ -543,7 +540,6 @@ function _free$1(sp) {
} while (0);
HEAP32[sp + 224 >> 2] = $p_0;
HEAP32[sp + 216 >> 2] = $psize_0;
- return sp | 0;
}
function _free$2(sp) {
sp = sp | 0;
@@ -587,7 +583,7 @@ function _free$2(sp) {
HEAP32[sp + 8 >> 2] = $mem;
HEAP32[sp + 24 >> 2] = $10;
HEAP32[sp + 424 >> 2] = $psize_1;
- sp = _free$0(sp) | 0;
+ _free$0(sp);
$psize_1 = HEAP32[sp + 424 >> 2] | 0;
tempValue = HEAP32[sp + 664 >> 2] | 0;
tempInt = HEAP32[sp + 668 >> 2] | 0;
@@ -735,6 +731,5 @@ function _free$2(sp) {
HEAP32[sp + 680 >> 2] = 5;
break OL;
} while (0);
- return sp | 0;
}