Don't drop_unused before compression.

Fix #280, #282
This commit is contained in:
Mihai Bazon
2013-10-09 19:15:09 +03:00
parent f2348dd98b
commit 3a81f60982

View File

@@ -86,7 +86,6 @@ merge(Compressor.prototype, {
before: function(node, descend, in_list) {
if (node._squeezed) return node;
if (node instanceof AST_Scope) {
node.drop_unused(this);
node = node.hoist_declarations(this);
}
descend(node, this);