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