Bug 801830: Ionmonkey: correctly compare definitions in MMul

This commit is contained in:
Hannes Verschore 2012-10-17 18:34:39 +02:00
parent 7c8dd178b7
commit 427134eb9c

View File

@ -921,7 +921,7 @@ MMul::foldsTo(bool useValueNumbers)
if (specialization() != MIRType_Int32)
return this;
if (lhs()->congruentTo(rhs()))
if (EqualValues(useValueNumbers, lhs(), rhs()))
canBeNegativeZero_ = false;
return this;