Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 737aafcc9be733301fb5686e68d53bc3e2659fa0..a090242f0618a26b64b9e143772680220d93f76b 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5168,7 +5168,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
Register scratch = ToRegister(instr->scratch()); |
__ LoadInstanceDescriptors(map, result, scratch); |
__ lw(result, |
- FieldMemOperand(result, DescriptorArray::kEnumerationIndexOffset)); |
+ FieldMemOperand(result, DescriptorArray::kLastAddedOffset)); |
__ lw(result, |
FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); |
DeoptimizeIf(eq, instr->environment(), result, Operand(zero_reg)); |