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