| Index: src/crankshaft/x64/lithium-codegen-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| index 849b4b33c699d5b2a2038654638a1e9fd39ed29d..4f44c084ba3ee645d839aa7e2bfc7a2412d7a704 100644
|
| --- a/src/crankshaft/x64/lithium-codegen-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| @@ -3674,38 +3674,6 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoCallFunction(LCallFunction* instr) {
|
| - HCallFunction* hinstr = instr->hydrogen();
|
| - DCHECK(ToRegister(instr->context()).is(rsi));
|
| - DCHECK(ToRegister(instr->function()).is(rdi));
|
| - DCHECK(ToRegister(instr->result()).is(rax));
|
| -
|
| - 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(rdx));
|
| - DCHECK(vector_register.is(rbx));
|
| -
|
| - AllowDeferredHandleDereference vector_structure_check;
|
| - Handle<TypeFeedbackVector> vector = hinstr->feedback_vector();
|
| - int index = vector->GetIndex(hinstr->slot());
|
| -
|
| - __ Move(vector_register, vector);
|
| - __ Move(slot_register, Smi::FromInt(index));
|
| -
|
| - Handle<Code> ic =
|
| - CodeFactory::CallICInOptimizedCode(isolate(), arity, mode).code();
|
| - CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| - } else {
|
| - __ Set(rax, arity);
|
| - CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr);
|
| - }
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
|
| DCHECK(ToRegister(instr->context()).is(rsi));
|
| DCHECK(ToRegister(instr->constructor()).is(rdi));
|
|
|