| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index cefe97c8a5c27a4cd941e929fab78bf47261d9b5..476f82eaf826bb73d160a815d916939b0e95750d 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -2577,10 +2577,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| // a1 - function
|
| // a3 - slot id (Smi)
|
| // a2 - vector
|
| - const int with_types_offset =
|
| - FixedArray::OffsetOfElementAt(TypeFeedbackVector::kWithTypesIndex);
|
| - const int generic_offset =
|
| - FixedArray::OffsetOfElementAt(TypeFeedbackVector::kGenericCountIndex);
|
| Label extra_checks_or_miss, call, call_function;
|
| int argc = arg_count();
|
| ParameterCount actual(argc);
|
| @@ -2657,13 +2653,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| __ Addu(t0, a2, Operand(t0));
|
| __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex);
|
| __ sw(at, FieldMemOperand(t0, FixedArray::kHeaderSize));
|
| - // We have to update statistics for runtime profiling.
|
| - __ lw(t0, FieldMemOperand(a2, with_types_offset));
|
| - __ Subu(t0, t0, Operand(Smi::FromInt(1)));
|
| - __ sw(t0, FieldMemOperand(a2, with_types_offset));
|
| - __ lw(t0, FieldMemOperand(a2, generic_offset));
|
| - __ Addu(t0, t0, Operand(Smi::FromInt(1)));
|
| - __ sw(t0, FieldMemOperand(a2, generic_offset));
|
|
|
| __ bind(&call);
|
| __ Jump(masm->isolate()->builtins()->Call(convert_mode()),
|
| @@ -2691,11 +2680,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| __ lw(t1, NativeContextMemOperand());
|
| __ Branch(&miss, ne, t0, Operand(t1));
|
|
|
| - // Update stats.
|
| - __ lw(t0, FieldMemOperand(a2, with_types_offset));
|
| - __ Addu(t0, t0, Operand(Smi::FromInt(1)));
|
| - __ sw(t0, FieldMemOperand(a2, with_types_offset));
|
| -
|
| // Initialize the call counter.
|
| __ sll(at, a3, kPointerSizeLog2 - kSmiTagSize);
|
| __ Addu(at, a2, Operand(at));
|
|
|