Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 72cd8328cf34a5f8ef9e3e0b816d67814b31a727..aadff7ada84fb5d7095e9a6a8cc064cf9bee4920 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1142,7 +1142,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// We got a map in register r0. Get the enumeration cache from it. |
__ bind(&use_cache); |
__ LoadInstanceDescriptors(r0, r1, r2); |
- __ ldr(r1, FieldMemOperand(r1, DescriptorArray::kEnumerationIndexOffset)); |
+ __ ldr(r1, FieldMemOperand(r1, DescriptorArray::kLastAddedOffset)); |
__ ldr(r2, FieldMemOperand(r1, DescriptorArray::kEnumCacheBridgeCacheOffset)); |
// Set up the four remaining stack slots. |