Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 33a22f1c8a788d1c441bc316a1980aab67740167..72cd8328cf34a5f8ef9e3e0b816d67814b31a727 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1141,7 +1141,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// We got a map in register r0. Get the enumeration cache from it. |
__ bind(&use_cache); |
- __ LoadInstanceDescriptors(r0, r1); |
+ __ LoadInstanceDescriptors(r0, r1, r2); |
__ ldr(r1, FieldMemOperand(r1, DescriptorArray::kEnumerationIndexOffset)); |
__ ldr(r2, FieldMemOperand(r1, DescriptorArray::kEnumCacheBridgeCacheOffset)); |
@@ -2737,7 +2737,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(r1, r4); |
+ __ LoadInstanceDescriptors(r1, r4, r3); |
__ ldr(r3, FieldMemOperand(r4, FixedArray::kLengthOffset)); |
// r4: descriptor array |
// r3: length of descriptor array |