Bug 910807 - IonMonkey: Avoid rectifyExponent() calls in unionWith, since it isn't needed, and the invariants it checks are temporarily invalid. r=nbp

This commit is contained in:
Dan Gohman 2013-08-31 06:08:39 -07:00
parent 9e6651b088
commit 2679859d05

View File

@ -358,12 +358,12 @@ Range::unionWith(const Range *other)
if (lower_infinite_ || other->lower_infinite_)
makeLowerInfinite();
else
setLower(Min(lower_, other->lower_));
setLowerInit(Min(lower_, other->lower_));
if (upper_infinite_ || other->upper_infinite_)
makeUpperInfinite();
else
setUpper(Max(upper_, other->upper_));
setUpperInit(Max(upper_, other->upper_));
decimal_ = decimal;
max_exponent_ = max_exponent;