Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 60791801279490f68e9613af74b196b10b67a34d..b43fb56084f67b8b79e670eead73fe01b677214d 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3917,7 +3917,7 @@ void MacroAssembler::StoreNumberToDoubleElements(Register value_reg, |
// Check for nan: all NaN values have a value greater (signed) than 0x7ff00000 |
// in the exponent. |
- li(scratch1, Operand(kNaNOrInfinityLowerBoundUpper32)); |
+ li(scratch1, Operand(kHoleNanUpper32 & HeapNumber::kExponentMask)); |
lw(exponent_reg, FieldMemOperand(value_reg, HeapNumber::kExponentOffset)); |
Branch(&maybe_nan, ge, exponent_reg, Operand(scratch1)); |