Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 15265) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -346,7 +346,7 @@ |
// Allocate new backing store. |
__ bind(&new_backing_store); |
- __ lea(rdi, Operand(r9, times_pointer_size, FixedArray::kHeaderSize)); |
+ __ lea(rdi, Operand(r9, times_8, FixedArray::kHeaderSize)); |
__ Allocate(rdi, r14, r11, r15, fail, TAG_OBJECT); |
// Set backing store's map |
__ LoadRoot(rdi, Heap::kFixedDoubleArrayMapRootIndex); |
@@ -381,7 +381,7 @@ |
// Conversion loop. |
__ bind(&loop); |
__ movq(rbx, |
- FieldOperand(r8, r9, times_8, FixedArray::kHeaderSize)); |
+ FieldOperand(r8, r9, times_pointer_size, FixedArray::kHeaderSize)); |
// r9 : current element's index |
// rbx: current element (smi-tagged) |
__ JumpIfNotSmi(rbx, &convert_hole); |
@@ -459,7 +459,7 @@ |
__ bind(&loop); |
__ movq(r14, FieldOperand(r8, |
r9, |
- times_pointer_size, |
+ times_8, |
FixedDoubleArray::kHeaderSize)); |
// r9 : current element's index |
// r14: current element |