Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index 466c8901852a88742d9c174dcb7105be59463f17..a122800776e4a6eef57c1f46990fcb1d652ac1c4 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -554,7 +554,7 @@ void Builtins::Generate_ArrayConstructCode(MacroAssembler* masm) { |
__ ldr(r3, FieldMemOperand(r1, JSFunction::kPrototypeOrInitialMapOffset)); |
__ tst(r3, Operand(kSmiTagMask)); |
__ Assert(ne, "Unexpected initial map for Array function"); |
- __ CompareObjectType(r1, r3, r4, MAP_TYPE); |
+ __ CompareObjectType(r3, r3, r4, MAP_TYPE); |
__ Assert(eq, "Unexpected initial map for Array function"); |
if (FLAG_optimize_constructed_arrays) { |