Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 9dd8bdc07f0ee6b33d07c6e4ab83a4fa8f4257e9..4601f8b3ed19f0854670d618464b15d664fe6095 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -2850,19 +2850,6 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ LoadRoot(at, Heap::kuninitialized_symbolRootIndex); |
__ Branch(&miss, eq, t0, Operand(at)); |
- 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(t0); |
- __ GetObjectType(t0, t1, t1); |
- __ Branch(&miss, ne, t1, Operand(JS_FUNCTION_TYPE)); |
- __ sll(t0, a3, kPointerSizeLog2 - kSmiTagSize); |
- __ Addu(t0, a2, Operand(t0)); |
- __ LoadRoot(at, Heap::kmegamorphic_symbolRootIndex); |
- __ sw(at, FieldMemOperand(t0, FixedArray::kHeaderSize)); |
- __ Branch(&slow_start); |
- } |
- |
// We are here because tracing is on or we are going monomorphic. |
__ bind(&miss); |
GenerateMiss(masm); |