Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 2761ca0f9366786b2bc811192600730ea490ca1a..903247394301f5efff2b8b0489b14d70a2c03ca6 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -3884,7 +3884,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)); |