Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 86d0e6ef9b048bb5877810521498b5046ad0600b..9649e420d81c20fdfe8496e87ee94e5ef4add9b1 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -2653,10 +2653,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); |
@@ -2733,13 +2729,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ Daddu(a4, a2, Operand(a4)); |
__ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); |
__ sd(at, FieldMemOperand(a4, FixedArray::kHeaderSize)); |
- // We have to update statistics for runtime profiling. |
- __ ld(a4, FieldMemOperand(a2, with_types_offset)); |
- __ Dsubu(a4, a4, Operand(Smi::FromInt(1))); |
- __ sd(a4, FieldMemOperand(a2, with_types_offset)); |
- __ ld(a4, FieldMemOperand(a2, generic_offset)); |
- __ Daddu(a4, a4, Operand(Smi::FromInt(1))); |
- __ sd(a4, FieldMemOperand(a2, generic_offset)); |
__ bind(&call); |
__ Jump(masm->isolate()->builtins()->Call(convert_mode()), |
@@ -2767,11 +2756,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ ld(t1, NativeContextMemOperand()); |
__ Branch(&miss, ne, t0, Operand(t1)); |
- // Update stats. |
- __ ld(a4, FieldMemOperand(a2, with_types_offset)); |
- __ Daddu(a4, a4, Operand(Smi::FromInt(1))); |
- __ sd(a4, FieldMemOperand(a2, with_types_offset)); |
- |
// Initialize the call counter. |
__ dsrl(at, a3, 32 - kPointerSizeLog2); |
__ Daddu(at, a2, Operand(at)); |