@@ -4406,7 +4406,12 @@ merge(Compressor.prototype, {
|
||||
push();
|
||||
segment.block = node;
|
||||
if (node === self) root = segment;
|
||||
if (node instanceof AST_Lambda && node.name) references[node.name.definition().id] = false;
|
||||
if (node instanceof AST_Lambda) {
|
||||
if (node.name) references[node.name.definition().id] = false;
|
||||
if (node.uses_arguments && !tw.has_directive("use strict")) node.argnames.forEach(function(node) {
|
||||
references[node.definition().id] = false;
|
||||
});
|
||||
}
|
||||
descend();
|
||||
pop();
|
||||
return true;
|
||||
@@ -4474,6 +4479,7 @@ merge(Compressor.prototype, {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
tw.directives = Object.create(compressor.directives);
|
||||
self.walk(tw);
|
||||
var merged = Object.create(null);
|
||||
while (first.length && last.length) {
|
||||
|
||||
Reference in New Issue
Block a user