Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 55b37b45df7c9144a97de9ccb1381ff861bbe2d9..6f4869e2451d134497d6294478f75dcad99da9f8 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::kLastAddedOffset)); |
+ __ lw(a1, FieldMemOperand(a1, DescriptorArray::kEnumCacheOffset)); |
__ lw(a2, FieldMemOperand(a1, DescriptorArray::kEnumCacheBridgeCacheOffset)); |
// Set up the four remaining stack slots. |