@@ -7415,9 +7415,7 @@ merge(Compressor.prototype, {
|
||||
}
|
||||
if (left.has_side_effects(compressor)) return this;
|
||||
var right = this.right;
|
||||
if (lazy_op[this.operator.slice(0, -1)]) {
|
||||
this.write_only = !right.has_side_effects(compressor);
|
||||
} else {
|
||||
if (!lazy_op[this.operator.slice(0, -1)]) {
|
||||
this.write_only = true;
|
||||
if (root_expr(left).is_constant_expression(compressor.find_parent(AST_Scope))) {
|
||||
return right.drop_side_effect_free(compressor);
|
||||
|
||||
Reference in New Issue
Block a user