emscripten/tools/test-js-optimizer-output.js

85 строки
1.6 KiB
JavaScript

var c;
var b = 5;
var s3 = !0;
var block = [ void 0 ];
function abc() {
var cheez = [ void 0 ];
var fleefl;
cheez = 10;
var waka, flake, marfoosh;
var waka2 = 5, flake2, marfoosh2;
var waka3, flake3 = 5, marfoosh3;
var waka4, flake4, marfoosh4 = 5;
var test1 = !0, test2 = !1, test3 = null, test4 = z, test5 = b, test6;
s3 = 9;
}
function xyz() {
var x = 52;
var cheez = x;
var t = 22;
function inner1(c) {
var i = x, j = null, k = 5, l = t, m = s2;
var s2 = 8;
}
var inner2 = (function(d) {
var i = x, j = null, k = 5, l = t, m = s2;
var s2 = 8;
});
var patama = s3;
}
function xyz2(x) {
var cheez = x;
}
zzz = (function(nada) {
var cheez;
});
function expr() {
if ($0 >= $1) print("hi");
}
function loopy() {
$while_body$2 : while (1) {
$ok = 1;
while (1) {
if ($ok) break;
var $inc = $ok + 1;
if ($inc == 9999) break $while_body$2;
}
continue;
}
next();
while (1) {
$ok = 1;
while (1) {
if ($ok) break;
var $inc = $ok + 1;
}
continue;
}
next();
do {
if (!$ok) break;
something();
} while (0);
next();
b$once : do {
while (more()) {
if (!$ok) break b$once;
}
something();
} while (0);
next();
{
something();
}
}
function ignoreLoopy() {
b$for_cond$4 : while (1) {
if ($ok) break b$for_cond$4;
var $inc = $ok + 1;
}
}
function bits() {
print((($s & 65535) + ((($f & 65535) << 16 >> 16) * (($f & 65535) << 16 >> 16) | 0 | 0) % 256 | 0) & 65535);
}
// EMSCRIPTEN_GENERATED_FUNCTIONS: ["abc", "xyz", "xyz2", "expr", "loopy", "bits"]