Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index b8f582131c143459c76bd74c53367345d3369fcb..ba784d3b442026d450ae7ded73fcfba018b6c7e3 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -2834,7 +2834,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()); |
} |