Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index 14695c11b8c5fcc6830aae003811695ba99e4ea1..13fabf98a0a4902e3801b6f9ce9554db1434e3c4 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -200,98 +200,6 @@ Node* RawMachineAssembler::CallNWithFrameState(CallDescriptor* desc, |
return AddNode(common()->Call(desc), input_count, buffer); |
} |
-Node* RawMachineAssembler::CallRuntime0(Runtime::FunctionId function, |
- Node* context) { |
- CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function, 0, Operator::kNoProperties, CallDescriptor::kNoFlags); |
- int return_count = static_cast<int>(descriptor->ReturnCount()); |
- |
- Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); |
- Node* ref = AddNode( |
- common()->ExternalConstant(ExternalReference(function, isolate()))); |
- Node* arity = Int32Constant(0); |
- |
- return AddNode(common()->Call(descriptor), centry, ref, arity, context); |
-} |
- |
-Node* RawMachineAssembler::CallRuntime1(Runtime::FunctionId function, |
- Node* arg1, Node* context) { |
- CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function, 1, Operator::kNoProperties, CallDescriptor::kNoFlags); |
- int return_count = static_cast<int>(descriptor->ReturnCount()); |
- |
- Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); |
- Node* ref = AddNode( |
- common()->ExternalConstant(ExternalReference(function, isolate()))); |
- Node* arity = Int32Constant(1); |
- |
- return AddNode(common()->Call(descriptor), centry, arg1, ref, arity, context); |
-} |
- |
- |
-Node* RawMachineAssembler::CallRuntime2(Runtime::FunctionId function, |
- Node* arg1, Node* arg2, Node* context) { |
- CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function, 2, Operator::kNoProperties, CallDescriptor::kNoFlags); |
- int return_count = static_cast<int>(descriptor->ReturnCount()); |
- |
- Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); |
- Node* ref = AddNode( |
- common()->ExternalConstant(ExternalReference(function, isolate()))); |
- Node* arity = Int32Constant(2); |
- |
- return AddNode(common()->Call(descriptor), centry, arg1, arg2, ref, arity, |
- context); |
-} |
- |
-Node* RawMachineAssembler::CallRuntime3(Runtime::FunctionId function, |
- Node* arg1, Node* arg2, Node* arg3, |
- Node* context) { |
- CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function, 3, Operator::kNoProperties, CallDescriptor::kNoFlags); |
- int return_count = static_cast<int>(descriptor->ReturnCount()); |
- |
- Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); |
- Node* ref = AddNode( |
- common()->ExternalConstant(ExternalReference(function, isolate()))); |
- Node* arity = Int32Constant(3); |
- |
- return AddNode(common()->Call(descriptor), centry, arg1, arg2, arg3, ref, |
- arity, context); |
-} |
- |
-Node* RawMachineAssembler::CallRuntime4(Runtime::FunctionId function, |
- Node* arg1, Node* arg2, Node* arg3, |
- Node* arg4, Node* context) { |
- CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function, 4, Operator::kNoProperties, CallDescriptor::kNoFlags); |
- int return_count = static_cast<int>(descriptor->ReturnCount()); |
- |
- Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); |
- Node* ref = AddNode( |
- common()->ExternalConstant(ExternalReference(function, isolate()))); |
- Node* arity = Int32Constant(4); |
- |
- return AddNode(common()->Call(descriptor), centry, arg1, arg2, arg3, arg4, |
- ref, arity, context); |
-} |
- |
-Node* RawMachineAssembler::CallRuntime5(Runtime::FunctionId function, |
- Node* arg1, Node* arg2, Node* arg3, |
- Node* arg4, Node* arg5, Node* context) { |
- CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function, 5, Operator::kNoProperties, CallDescriptor::kNoFlags); |
- int return_count = static_cast<int>(descriptor->ReturnCount()); |
- |
- Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); |
- Node* ref = AddNode( |
- common()->ExternalConstant(ExternalReference(function, isolate()))); |
- Node* arity = Int32Constant(5); |
- |
- return AddNode(common()->Call(descriptor), centry, arg1, arg2, arg3, arg4, |
- arg5, ref, arity, context); |
-} |
- |
Node* RawMachineAssembler::TailCallN(CallDescriptor* desc, Node* function, |
Node** args) { |
int param_count = static_cast<int>(desc->ParameterCount()); |