improve compression of loop conditions (#2543)

This commit is contained in:
Alex Lam S.L
2017-12-01 05:52:33 +08:00
committed by GitHub
parent 172079a47f
commit b762f2d6f4
6 changed files with 64 additions and 46 deletions

View File

@@ -148,9 +148,11 @@ parse_do_while_without_semicolon: {
evaluate: {
options = {
loops: true,
dead_code: true,
evaluate: true,
loops: true,
passes: 2,
side_effects: true,
};
input: {
while (true) {