Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 079e8b3fe4f544eb53995763389d20f34e6ac3a0..9ae025d7b2ac4ec6d8e8404da1c1ba3ff1d8a0bc 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1148,7 +1148,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); |
+ __ LoadInstanceDescriptors(v0, a1, a2); |
__ lw(a1, FieldMemOperand(a1, DescriptorArray::kEnumerationIndexOffset)); |
__ lw(a2, FieldMemOperand(a1, DescriptorArray::kEnumCacheBridgeCacheOffset)); |
@@ -2759,7 +2759,7 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf( |
// Look for valueOf symbol in the descriptor array, and indicate false if |
// found. The type is not checked, so if it is a transition it is a false |
// negative. |
- __ LoadInstanceDescriptors(a1, t0); |
+ __ LoadInstanceDescriptors(a1, t0, a3); |
__ lw(a3, FieldMemOperand(t0, FixedArray::kLengthOffset)); |
// t0: descriptor array |
// a3: length of descriptor array |