diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-27 09:39:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-27 09:39:55 -0700 |
commit | 931ef137796f203be401cdddfd8cf0a2a8a6a7e6 (patch) | |
tree | ab87cd28bcb28ff92deaffe30078c95e9b885880 /tools | |
parent | 2f51caf9b635f4f0b356ff407f1d4807d69270c1 (diff) |
support seq in eliminator
Diffstat (limited to 'tools')
-rw-r--r-- | tools/js-optimizer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js index eaeabeef..e3558e34 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -1645,7 +1645,7 @@ function eliminate(ast) { traverseInOrder(node[1]); } else if (type == 'label') { traverseInOrder(node[2]); - } else if (type == 'while') { + } else if (type == 'while' || type == 'seq') { traverseInOrder(node[1]); traverseInOrder(node[2]); } else if (type == 'do') { |