diff options
-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 1924cf2e..84bf9737 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -1512,13 +1512,13 @@ function eliminate(ast) { for (var i = 0; i < temp.length; i++) { delete tracked[temp[i]]; } - neededDepInvalidations.length = 0; } function check(node) { // checks a potential (var/assign) node for things that affect elimination. returns if ok to process this node //printErr('check ' + JSON.stringify(node)); var ok = true; needGlobalsInvalidated = false; needMemoryInvalidated = false; + neededDepInvalidations.length = 0; traverse(node, function(node, type) { if (type == 'assign') { if (node[2][0] == 'name') { |