diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-12-01 05:52:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 05:52:33 +0800 |
commit | b762f2d6f4e81dcbd49ffb4db4b1933953942999 (patch) | |
tree | d4fde8ea2685912d3fe73ff0ba7e41706cc7e5ce /test/compress/loops.js | |
parent | 172079a47f2f7bf09d2a5b4e4cf05691a1206358 (diff) | |
download | tracifyjs-b762f2d6f4e81dcbd49ffb4db4b1933953942999.tar.gz tracifyjs-b762f2d6f4e81dcbd49ffb4db4b1933953942999.zip |
improve compression of loop conditions (#2543)
Diffstat (limited to 'test/compress/loops.js')
-rw-r--r-- | test/compress/loops.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/compress/loops.js b/test/compress/loops.js index bac40494..864276a3 100644 --- a/test/compress/loops.js +++ b/test/compress/loops.js @@ -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) { |