Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index b307512d673bb92db1df7781c132264b927b0f9f..dd58cd2365f1daee41abb17724ff40d45b2d22fa 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -5293,7 +5293,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
Register result = ToRegister(instr->result()); |
__ LoadInstanceDescriptors(map, result); |
__ mov(result, |
- FieldOperand(result, DescriptorArray::kEnumerationIndexOffset)); |
+ FieldOperand(result, DescriptorArray::kLastAddedOffset)); |
__ mov(result, |
FieldOperand(result, FixedArray::SizeFor(instr->idx()))); |
__ test(result, result); |