| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index 5a2f2f7c306409f48093be8ca7fd7402508519c0..8bc78fd9bd913bf89c77d867d0f7bbe6dff022ef 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -1792,10 +1792,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| // edx - slot id
|
| // ebx - 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();
|
| ParameterCount actual(argc);
|
| @@ -1868,9 +1864,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| __ mov(
|
| FieldOperand(ebx, edx, times_half_pointer_size, FixedArray::kHeaderSize),
|
| Immediate(TypeFeedbackVector::MegamorphicSentinel(isolate)));
|
| - // We have to update statistics for runtime profiling.
|
| - __ sub(FieldOperand(ebx, with_types_offset), Immediate(Smi::FromInt(1)));
|
| - __ add(FieldOperand(ebx, generic_offset), Immediate(Smi::FromInt(1)));
|
|
|
| __ bind(&call);
|
| __ Set(eax, argc);
|
| @@ -1898,9 +1891,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| __ cmp(ecx, NativeContextOperand());
|
| __ j(not_equal, &miss);
|
|
|
| - // Update stats.
|
| - __ add(FieldOperand(ebx, with_types_offset), Immediate(Smi::FromInt(1)));
|
| -
|
| // Initialize the call counter.
|
| __ mov(FieldOperand(ebx, edx, times_half_pointer_size,
|
| FixedArray::kHeaderSize + kPointerSize),
|
|
|