Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 6399a8bb09abb724afb1529165cbd88d955e8657..3a4cb1eeb22a1d546784035977ad45d4c1274930 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -359,38 +359,6 @@ void LCodeGen::CallCodeGeneric(Handle<Code> code, |
} |
-void LCodeGen::DoCallFunction(LCallFunction* instr) { |
- HCallFunction* hinstr = instr->hydrogen(); |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->function()).Is(x1)); |
- DCHECK(ToRegister(instr->result()).Is(x0)); |
- |
- 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(x3)); |
- DCHECK(vector_register.is(x2)); |
- |
- AllowDeferredHandleDereference vector_structure_check; |
- Handle<TypeFeedbackVector> vector = hinstr->feedback_vector(); |
- int index = vector->GetIndex(hinstr->slot()); |
- |
- __ Mov(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(x0, arity); |
- CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr); |
- } |
- RecordPushedArgumentsDelta(hinstr->argument_delta()); |
-} |
- |
- |
void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
DCHECK(instr->IsMarkedAsCall()); |
DCHECK(ToRegister(instr->context()).is(cp)); |