Index: src/compiler/linkage.cc |
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc |
index 105bd353fca48095a684c58884172ffb0f0f95b4..89fff6f3d9c8b5442c8f8f30b27f2a39c2d35da8 100644 |
--- a/src/compiler/linkage.cc |
+++ b/src/compiler/linkage.cc |
@@ -118,13 +118,6 @@ bool CallDescriptor::CanTailCall(const Node* node, |
CallDescriptor* Linkage::ComputeIncoming(Zone* zone, CompilationInfo* info) { |
DCHECK(!info->IsStub()); |
- if (info->has_literal()) { |
- // If we already have the function literal, use the number of parameters |
- // plus the receiver. |
- return GetJSCallDescriptor(zone, info->is_osr(), |
- 1 + info->literal()->parameter_count(), |
- CallDescriptor::kNoFlags); |
- } |
if (!info->closure().is_null()) { |
// If we are compiling a JS function, use a JS call descriptor, |
// plus the receiver. |