Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index a2cf5621150449182bf51df1a16192f645395af7..00b02087cb9e7a9c70fe74fd0075258c77c8bfe7 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -257,6 +257,26 @@ Node* RawMachineAssembler::CallCFunction3(MachineType return_type, |
return AddNode(common()->Call(descriptor), function, arg0, arg1, arg2); |
} |
+Node* RawMachineAssembler::CallCFunction6( |
+ MachineType return_type, MachineType arg0_type, MachineType arg1_type, |
+ MachineType arg2_type, MachineType arg3_type, MachineType arg4_type, |
+ MachineType arg5_type, Node* function, Node* arg0, Node* arg1, Node* arg2, |
+ Node* arg3, Node* arg4, Node* arg5) { |
+ MachineSignature::Builder builder(zone(), 1, 6); |
+ builder.AddReturn(return_type); |
+ builder.AddParam(arg0_type); |
+ builder.AddParam(arg1_type); |
+ builder.AddParam(arg2_type); |
+ builder.AddParam(arg3_type); |
+ builder.AddParam(arg4_type); |
+ builder.AddParam(arg5_type); |
+ const CallDescriptor* descriptor = |
+ Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); |
+ |
+ return AddNode(common()->Call(descriptor), function, arg0, arg1, arg2, arg3, |
+ arg4, arg5); |
+} |
+ |
Node* RawMachineAssembler::CallCFunction8( |
MachineType return_type, MachineType arg0_type, MachineType arg1_type, |
MachineType arg2_type, MachineType arg3_type, MachineType arg4_type, |