diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/compress.js b/lib/compress.js index 1571173c..469ee6e2 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -885,7 +885,7 @@ merge(Compressor.prototype, { }); return true; } - if (node instanceof AST_SymbolRef && !(node instanceof AST_LabelRef)) { + if (node instanceof AST_SymbolRef) { push_uniq(in_use, node.definition()); return true; } @@ -908,8 +908,7 @@ merge(Compressor.prototype, { if (decl instanceof AST_SymbolDeclaration) { decl.init.forEach(function(init){ var tw = new TreeWalker(function(node){ - if (node instanceof AST_SymbolRef - && !(node instanceof AST_LabelRef)) { + if (node instanceof AST_SymbolRef) { push_uniq(in_use, node.definition()); } }); |