Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index aea2ed885f6931a7c68527cf28968cdf89f48591..d4f9d7c20635bef4ae26bd1ea43f696b206761a1 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -3748,7 +3748,8 @@ void KeyedStoreStubCompiler::GenerateStoreFastDoubleElement( |
// the double array. |
ExternalReference canonical_nan_reference = |
ExternalReference::address_of_canonical_non_hole_nan(); |
- __ Set(kScratchRegister, kCanonicalNonHoleNanInt64); |
+ __ Set(kScratchRegister, BitCast<uint64_t>( |
+ FixedDoubleArray::canonical_not_the_hole_nan_as_double())); |
__ movq(xmm0, kScratchRegister); |
__ jmp(&have_double_value, Label::kNear); |