Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 2493) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -164,7 +164,7 @@ |
__ ldr(dst, FieldMemOperand(src, offset)); |
} else { |
// Calculate the offset into the properties array. |
- int offset = index * kPointerSize + Array::kHeaderSize; |
+ int offset = index * kPointerSize + FixedArray::kHeaderSize; |
__ ldr(dst, FieldMemOperand(src, JSObject::kPropertiesOffset)); |
__ ldr(dst, FieldMemOperand(dst, offset)); |
} |
@@ -330,7 +330,7 @@ |
__ RecordWrite(receiver_reg, name_reg, scratch); |
} else { |
// Write to the properties array. |
- int offset = index * kPointerSize + Array::kHeaderSize; |
+ int offset = index * kPointerSize + FixedArray::kHeaderSize; |
// Get the properties array |
__ ldr(scratch, FieldMemOperand(receiver_reg, JSObject::kPropertiesOffset)); |
__ str(r0, FieldMemOperand(scratch, offset)); |