Chromium Code Reviews| Index: src/ia32/code-stubs-ia32.cc | 
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc | 
| index 104576e64a949d896ac05c638d0ab1945669c506..6edb243de1ec183d1ef48e4e600af036c2a3ff40 100644 | 
| --- a/src/ia32/code-stubs-ia32.cc | 
| +++ b/src/ia32/code-stubs-ia32.cc | 
| @@ -2455,18 +2455,6 @@ void CallICStub::Generate(MacroAssembler* masm) { | 
| __ cmp(ecx, Immediate(TypeFeedbackInfo::UninitializedSentinel(isolate))); | 
| __ j(equal, &miss); | 
| - if (!FLAG_trace_ic) { | 
| - // We are going megamorphic. If the feedback is a JSFunction, it is fine | 
| 
 
Jakob Kummerow
2014/08/06 14:49:09
Removing optimizations is sad... is the type feedb
 
mvstanton
2014/08/06 15:32:33
That sounds good to me. I'll move this change to a
 
 | 
| - // 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(TypeFeedbackInfo::MegamorphicSentinel(isolate))); | 
| - __ jmp(&slow_start); | 
| - } | 
| - | 
| // We are here because tracing is on or we are going monomorphic. | 
| __ bind(&miss); | 
| GenerateMiss(masm, IC::kCallIC_Miss); |