Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index d6a4f793f4d88f0f370f34c8e40792a68c84a80d..8e936e1947544aa1fa807885eefc3fa2b9a42ca9 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2575,7 +2575,7 @@ Address Assembler::target_address_at(Address pc) { |
// snapshot generated on ia32, the resulting MIPS sNaN must be quieted. |
// OS::nan_value() returns a qNaN. |
void Assembler::QuietNaN(HeapObject* object) { |
- HeapNumber::cast(object)->set_value(base::OS::nan_value()); |
+ HeapNumber::cast(object)->set_value(std::numeric_limits<double>::quiet_NaN()); |
} |