@@ -108,6 +108,7 @@ function Compressor(options, false_by_default) {
|
||||
unsafe_undefined: false,
|
||||
unused : !false_by_default,
|
||||
varify : !false_by_default,
|
||||
webkit : false,
|
||||
yields : !false_by_default,
|
||||
}, true);
|
||||
var evaluate = this.options["evaluate"];
|
||||
@@ -5857,6 +5858,7 @@ merge(Compressor.prototype, {
|
||||
if (head_refs.start.block !== tail_refs.start.block
|
||||
|| !mergeable(head_refs, tail_refs)
|
||||
|| (head_refs.start.loop || !same_scope(def)) && !mergeable(tail_refs, head_refs)
|
||||
|| compressor.option("webkit") && is_funarg(def) !== is_funarg(tail.definition)
|
||||
|| !all(tail_refs, function(sym) {
|
||||
return sym.scope.find_variable(def.name) === def;
|
||||
})) {
|
||||
|
||||
Reference in New Issue
Block a user