Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 9ae025d7b2ac4ec6d8e8404da1c1ba3ff1d8a0bc..246fe2a13f2a9a8b4f8de9b624070ef37b46b1ff 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1149,7 +1149,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// We got a map in register v0. Get the enumeration cache from it. |
__ bind(&use_cache); |
__ LoadInstanceDescriptors(v0, a1, a2); |
- __ lw(a1, FieldMemOperand(a1, DescriptorArray::kEnumerationIndexOffset)); |
+ __ lw(a1, FieldMemOperand(a1, DescriptorArray::kLastAddedOffset)); |
__ lw(a2, FieldMemOperand(a1, DescriptorArray::kEnumCacheBridgeCacheOffset)); |
// Set up the four remaining stack slots. |