| Index: src/compiler/linkage.cc
|
| diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
|
| index 2eef9291e988e8dfb94da2a6a3b85b87c4488a94..7f0698689e7c30020b9ad9cc9f47126fc77f58a7 100644
|
| --- a/src/compiler/linkage.cc
|
| +++ b/src/compiler/linkage.cc
|
| @@ -120,14 +120,7 @@ bool CallDescriptor::CanTailCall(const Node* node,
|
|
|
|
|
| CallDescriptor* Linkage::ComputeIncoming(Zone* zone, CompilationInfo* info) {
|
| - if (info->code_stub() != nullptr) {
|
| - // Use the code stub interface descriptor.
|
| - CodeStub* stub = info->code_stub();
|
| - CallInterfaceDescriptor descriptor = stub->GetCallInterfaceDescriptor();
|
| - return GetStubCallDescriptor(
|
| - info->isolate(), zone, descriptor, stub->GetStackParameterCount(),
|
| - CallDescriptor::kNoFlags, Operator::kNoProperties);
|
| - }
|
| + DCHECK(!info->IsStub());
|
| if (info->has_literal()) {
|
| // If we already have the function literal, use the number of parameters
|
| // plus the receiver.
|
|
|