Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index cd1266701adef19770e8d8a9920fd11b92da2cff..a97e7ecaaecbf0080165c71b3a5bb7e9a6eaa637 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -1936,10 +1936,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
// -- rbx - vector |
// ----------------------------------- |
Isolate* isolate = masm->isolate(); |
- 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(); |
StackArgumentsAccessor args(rsp, argc); |
@@ -2013,9 +2009,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ j(not_equal, &miss); |
__ Move(FieldOperand(rbx, rdx, times_pointer_size, FixedArray::kHeaderSize), |
TypeFeedbackVector::MegamorphicSentinel(isolate)); |
- // We have to update statistics for runtime profiling. |
- __ SmiAddConstant(FieldOperand(rbx, with_types_offset), Smi::FromInt(-1)); |
- __ SmiAddConstant(FieldOperand(rbx, generic_offset), Smi::FromInt(1)); |
__ bind(&call); |
__ Set(rax, argc); |
@@ -2043,9 +2036,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ cmpp(rcx, NativeContextOperand()); |
__ j(not_equal, &miss); |
- // Update stats. |
- __ SmiAddConstant(FieldOperand(rbx, with_types_offset), Smi::FromInt(1)); |
- |
// Initialize the call counter. |
__ Move(FieldOperand(rbx, rdx, times_pointer_size, |
FixedArray::kHeaderSize + kPointerSize), |