Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 7b2ebadf1f693df1f90e1f0c0497d58a79a8f27d..ef53fbc82a350eb03bca5bd7b25820793d8b6ef1 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -3658,37 +3658,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(r1)); |
- DCHECK(ToRegister(instr->result()).is(r0)); |
- |
- 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(r3)); |
- DCHECK(vector_register.is(r2)); |
- |
- AllowDeferredHandleDereference vector_structure_check; |
- Handle<TypeFeedbackVector> vector = hinstr->feedback_vector(); |
- int index = vector->GetIndex(hinstr->slot()); |
- |
- __ Move(vector_register, vector); |
- __ mov(slot_register, Operand(Smi::FromInt(index))); |
- |
- Handle<Code> ic = |
- CodeFactory::CallICInOptimizedCode(isolate(), arity, mode).code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
- } else { |
- __ mov(r0, 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(r1)); |