Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index a2df23fc5a88bcd6278f2a46a3b70fc3944bb6bd..b216a7d02a8ea3834c70d9d8d7042d6fb90c030e 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -4222,8 +4222,8 @@ void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { |
// Only load canonical NaN if the comparison above set the overflow. |
__ bind(&is_nan); |
- __ Move(double_scratch, |
- FixedDoubleArray::canonical_not_the_hole_nan_as_double()); |
+ __ LoadRoot(at, Heap::kNanValueRootIndex); |
+ __ ldc1(double_scratch, FieldMemOperand(at, HeapNumber::kValueOffset)); |
__ sdc1(double_scratch, MemOperand(scratch, instr->additional_index() << |
element_size_shift)); |
__ Branch(&done); |