Revision 223dd713a5c61d14ce676500a8cfde338bc91de4 authored by Alon Zakai on 06 March 2014, 00:45:19 UTC, committed by Alon Zakai on 06 March 2014, 00:45:19 UTC
Fix for full screen closing immediately
test-js-optimizer-asm-last.js
function finall(x) {
x = +x;
var a = +5;
a = +x;
a = 17;
a = +44;
a = +44.0;
a = +44.9;
a = +12.78e5;
a = +12e10;
a = -x;
a = -17;
a = -44;
a = -44.0;
a = -44.9;
a = -12.78e5;
a = -12e10;
a = +-x;
a = +-17;
a = +-44;
a = +-44.0;
a = +-44.9;
a = +-12.78e5;
a = +-12e10;
a = +0x8000000000000000;
a = +-0x8000000000000000;
a = -+0x8000000000000000;
a = -0x8000000000000000;
a = +0xde0b6b000000000;
a = +-0xde0b6b000000000;
a = -+0xde0b6b000000000;
a = -0xde0b6b000000000;
f(g() & -1);
return +12e10;
}
function looop() {
while (1) {
do_it();
if (condition()) {
break;
}
}
while (1) {
do_it();
if (a > b) {
break;
}
}
while (1) {
do_it();
if (!x()) {
break;
}
}
while (1) {
do_it();
if (a()) continue; // we cannot move to do-while, continue will hit the while check
if (!x()) {
break;
}
}
while (1) {
do_it();
do {
if (a()) continue; // ok to optimize, continue is not for us
} while (b());
if (!x()) {
break;
}
}
while (1) {
do_it();
while (b()) {
if (a()) continue; // also ok to optimize, continue is not for us
}
if (!x()) {
break;
}
}
X: while (1) {
do_it();
while (b()) {
if (a()) continue X; // not ok to optimize
}
if (!x()) {
break;
}
}
}
// EMSCRIPTEN_GENERATED_FUNCTIONS: ["finall", "looop"]
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...