Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index fc5590bff39c48c7c0505e0c4259b62ea6913b0f..a7457bf5d7776e8a4512d9306b153a658715a89b 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5360,7 +5360,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
Register scratch = ToRegister(instr->scratch()); |
__ LoadInstanceDescriptors(map, result, scratch); |
__ ldr(result, |
- FieldMemOperand(result, DescriptorArray::kEnumerationIndexOffset)); |
+ FieldMemOperand(result, DescriptorArray::kLastAddedOffset)); |
__ ldr(result, |
FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); |
__ cmp(result, Operand(0)); |