| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index cd0124b03253a2964ea232be67864c220f6f9b22..683aa9d40904bcaf3cd75c7e510d50f5d9a1f014 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -4108,16 +4108,16 @@ void KeyedStoreStubCompiler::GenerateStoreFastDoubleElement(
|
| __ Move(FieldOperand(rdi, FixedDoubleArray::kLengthOffset),
|
| Smi::FromInt(JSArray::kPreallocatedArrayElements));
|
|
|
| - __ movq(r8, BitCast<int64_t, uint64_t>(kHoleNanInt64), RelocInfo::NONE);
|
| - for (int i = 1; i < JSArray::kPreallocatedArrayElements; i++) {
|
| - __ movq(FieldOperand(rdi, FixedDoubleArray::OffsetOfElementAt(i)), r8);
|
| - }
|
| -
|
| // Increment the length of the array.
|
| __ SmiToInteger32(rcx, rcx);
|
| __ StoreNumberToDoubleElements(rax, rdi, rcx, xmm0,
|
| &restore_key_transition_elements_kind);
|
|
|
| + __ movq(r8, BitCast<int64_t, uint64_t>(kHoleNanInt64), RelocInfo::NONE);
|
| + for (int i = 1; i < JSArray::kPreallocatedArrayElements; i++) {
|
| + __ movq(FieldOperand(rdi, FixedDoubleArray::OffsetOfElementAt(i)), r8);
|
| + }
|
| +
|
| // Install the new backing store in the JSArray.
|
| __ movq(FieldOperand(rdx, JSObject::kElementsOffset), rdi);
|
| __ RecordWriteField(rdx, JSObject::kElementsOffset, rdi, rbx,
|
|
|