aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-08 10:17:44 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-08 10:17:44 -0800
commit82ddb0715d1aa655841223cff314a5377fe10aa5 (patch)
tree99908b418c6234544f033abc00ad7dbed6adba93 /tools/test-js-optimizer.js
parent1836357e38f7a13c3ac3810ed0e82a8d393c5a3c (diff)
send only a marker of generated functions to js-optimizer.js; we either know the generated functions and send only them, or we don't know them and send all the code, in either case js-optimizer.js does not need a list of generated functions
Diffstat (limited to 'tools/test-js-optimizer.js')
-rw-r--r--tools/test-js-optimizer.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/test-js-optimizer.js b/tools/test-js-optimizer.js
index 982e3230..bd3be281 100644
--- a/tools/test-js-optimizer.js
+++ b/tools/test-js-optimizer.js
@@ -37,12 +37,6 @@ function loopy() {
something();
} while(0);
}
-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);
z(HEAP32[($id + 40 | 0) >> 2]);