faster fail-over
This commit is contained in:
parent
571ce3529e
commit
4f5d12c573
|
|
@ -4655,6 +4655,7 @@ merge(Compressor.prototype, {
|
||||||
var arg_index;
|
var arg_index;
|
||||||
if (consequent instanceof AST_Call
|
if (consequent instanceof AST_Call
|
||||||
&& alternative.TYPE === consequent.TYPE
|
&& alternative.TYPE === consequent.TYPE
|
||||||
|
&& consequent.args.length > 0
|
||||||
&& consequent.args.length == alternative.args.length
|
&& consequent.args.length == alternative.args.length
|
||||||
&& consequent.expression.equivalent_to(alternative.expression)
|
&& consequent.expression.equivalent_to(alternative.expression)
|
||||||
&& !self.condition.has_side_effects(compressor)
|
&& !self.condition.has_side_effects(compressor)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user