Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index e20556c9808e3ace870b3086422d716068125f42..7df0ba2cd1a39981658632f4d34018c3bd5e6455 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4567,11 +4567,10 @@ void LoadICStub::GenerateForTrampoline(MacroAssembler* masm) { |
} |
-static void HandleArrayCases(MacroAssembler* masm, Register receiver, |
- Register key, Register vector, Register slot, |
- Register feedback, Register receiver_map, |
- Register scratch1, Register scratch2, |
- bool is_polymorphic, Label* miss) { |
+static void HandleArrayCases(MacroAssembler* masm, Register feedback, |
+ Register receiver_map, Register scratch1, |
+ Register scratch2, bool is_polymorphic, |
+ Label* miss) { |
// feedback initially contains the feedback array |
Label next_loop, prepare_next; |
Label start_polymorphic; |
@@ -4683,8 +4682,7 @@ void LoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
__ lw(scratch1, FieldMemOperand(feedback, HeapObject::kMapOffset)); |
__ LoadRoot(at, Heap::kFixedArrayMapRootIndex); |
__ Branch(¬_array, ne, at, Operand(scratch1)); |
- HandleArrayCases(masm, receiver, name, vector, slot, feedback, receiver_map, |
- scratch1, t5, true, &miss); |
+ HandleArrayCases(masm, feedback, receiver_map, scratch1, t5, true, &miss); |
__ bind(¬_array); |
__ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); |
@@ -4745,8 +4743,7 @@ void KeyedLoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
Label polymorphic, try_poly_name; |
__ bind(&polymorphic); |
- HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map, |
- scratch1, t5, true, &miss); |
+ HandleArrayCases(masm, feedback, receiver_map, scratch1, t5, true, &miss); |
__ bind(¬_array); |
// Is it generic? |
@@ -4765,8 +4762,7 @@ void KeyedLoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
__ Addu(feedback, vector, Operand(at)); |
__ lw(feedback, |
FieldMemOperand(feedback, FixedArray::kHeaderSize + kPointerSize)); |
- HandleArrayCases(masm, receiver, key, vector, slot, feedback, receiver_map, |
- scratch1, t5, false, &miss); |
+ HandleArrayCases(masm, feedback, receiver_map, scratch1, t5, false, &miss); |
__ bind(&miss); |
KeyedLoadIC::GenerateMiss(masm); |