Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 206a0868a4ece1fb4db5b1b29b6e61bed9b9d0d6..839912795f445bd5b8ce21d55984036a5aa7d289 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -434,19 +434,6 @@ |
size_t result_size) { |
Node* target = HeapConstant(callable.code()); |
return CallStubN(callable.descriptor(), target, args, result_size); |
-} |
- |
-Node* CodeAssembler::CallStub(const CallInterfaceDescriptor& descriptor, |
- Node* target, Node* context, size_t result_size) { |
- CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor( |
- isolate(), zone(), descriptor, descriptor.GetStackParameterCount(), |
- CallDescriptor::kNoFlags, Operator::kNoProperties, |
- MachineType::AnyTagged(), result_size); |
- |
- Node** args = zone()->NewArray<Node*>(1); |
- args[0] = context; |
- |
- return CallN(call_descriptor, target, args); |
} |
Node* CodeAssembler::CallStub(const CallInterfaceDescriptor& descriptor, |