| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 70ac4562e4ee2ce7434f870d2d568588133256d5..6c7420e84f0c5635266a052ad3c5a6c83e83be3a 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2085,10 +2085,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);
|
| @@ -2161,9 +2157,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);
|
| @@ -2191,9 +2184,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),
|
|
|