Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index a24f3102ab8ff588b1507c781117ba8c94bacde0..f55956cd7f4fa1084ea0e082a672ff4e2f5d7b2c 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1144,7 +1144,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::kLastAddedOffset)); |
+ __ ldr(r1, FieldMemOperand(r1, DescriptorArray::kEnumCacheOffset)); |
__ ldr(r2, FieldMemOperand(r1, DescriptorArray::kEnumCacheBridgeCacheOffset)); |
// Set up the four remaining stack slots. |