aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-23 18:23:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-23 18:23:52 -0800
commit309659d7b214828841540dd14de217b2058ce96e (patch)
tree36dde00cef133c162b63070f4ac4d3587efa174f /tools/test-js-optimizer-output.js
parent8d030228a3a428f2450d4d77651d04347a1211e9 (diff)
replace compiler tricks for one-time loop removal and label removal with a proper pass in the js optimizer
Diffstat (limited to 'tools/test-js-optimizer-output.js')
-rw-r--r--tools/test-js-optimizer-output.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test-js-optimizer-output.js b/tools/test-js-optimizer-output.js
index 3148fb55..b165aea8 100644
--- a/tools/test-js-optimizer-output.js
+++ b/tools/test-js-optimizer-output.js
@@ -68,9 +68,9 @@ function loopy() {
something();
} while (0);
next();
- do {
+ {
something();
- } while (0);
+ }
}
function ignoreLoopy() {
b$for_cond$4 : while (1) {