Index: src/arm64/codegen-arm64.cc |
diff --git a/src/arm64/codegen-arm64.cc b/src/arm64/codegen-arm64.cc |
index 831d44986259c475275d9bb1da30114dd202af06..0944c4bac3636feae5d2471a5709f24a747d7a9e 100644 |
--- a/src/arm64/codegen-arm64.cc |
+++ b/src/arm64/codegen-arm64.cc |
@@ -339,8 +339,8 @@ void ElementsTransitionGenerator::GenerateDoubleToObject( |
// Non-hole double, copy value into a heap number. |
Register heap_num = x5; |
- __ AllocateHeapNumber(heap_num, &gc_required, x6, x4, heap_num_map); |
- __ Str(x13, FieldMemOperand(heap_num, HeapNumber::kValueOffset)); |
+ __ AllocateHeapNumber(heap_num, &gc_required, x6, x4, |
+ x13, heap_num_map); |
__ Mov(x13, dst_elements); |
__ Str(heap_num, MemOperand(dst_elements, kPointerSize, PostIndex)); |
__ RecordWrite(array, x13, heap_num, kLRHasBeenSaved, kDontSaveFPRegs, |