| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 39bef3065b422f9188ed3696ea154f9404468f12..188bb49170783872774cbd306cc90216a118885a 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2233,18 +2233,6 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| __ cmp(ecx, Immediate(TypeFeedbackVector::UninitializedSentinel(isolate)));
|
| __ j(equal, &miss);
|
|
|
| - if (!FLAG_trace_ic) {
|
| - // We are going megamorphic. If the feedback is a JSFunction, it is fine
|
| - // to handle it here. More complex cases are dealt with in the runtime.
|
| - __ AssertNotSmi(ecx);
|
| - __ CmpObjectType(ecx, JS_FUNCTION_TYPE, ecx);
|
| - __ j(not_equal, &miss);
|
| - __ mov(FieldOperand(ebx, edx, times_half_pointer_size,
|
| - FixedArray::kHeaderSize),
|
| - Immediate(TypeFeedbackVector::MegamorphicSentinel(isolate)));
|
| - __ jmp(&slow_start);
|
| - }
|
| -
|
| // We are here because tracing is on or we are going monomorphic.
|
| __ bind(&miss);
|
| GenerateMiss(masm);
|
|
|