Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 8febb573b179cc25ae8a5507cf0ab97b9326eb62..8ed8a490c4dc3dc2c0155384f90178924c1709b5 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -3615,37 +3615,6 @@ void LCodeGen::DoCallJSFunction(LCallJSFunction* instr) { |
} |
-void LCodeGen::DoCallFunction(LCallFunction* instr) { |
- HCallFunction* hinstr = instr->hydrogen(); |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->function()).is(a1)); |
- DCHECK(ToRegister(instr->result()).is(v0)); |
- |
- int arity = instr->arity(); |
- ConvertReceiverMode mode = hinstr->convert_mode(); |
- if (hinstr->HasVectorAndSlot()) { |
- Register slot_register = ToRegister(instr->temp_slot()); |
- Register vector_register = ToRegister(instr->temp_vector()); |
- DCHECK(slot_register.is(a3)); |
- DCHECK(vector_register.is(a2)); |
- |
- AllowDeferredHandleDereference vector_structure_check; |
- Handle<TypeFeedbackVector> vector = hinstr->feedback_vector(); |
- int index = vector->GetIndex(hinstr->slot()); |
- |
- __ li(vector_register, vector); |
- __ li(slot_register, Operand(Smi::FromInt(index))); |
- |
- Handle<Code> ic = |
- CodeFactory::CallICInOptimizedCode(isolate(), arity, mode).code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
- } else { |
- __ li(a0, Operand(arity)); |
- CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr); |
- } |
-} |
- |
- |
void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->constructor()).is(a1)); |