From c57f682113c46af22cc593dc15b70aad7aa51eab Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 12 May 2005 19:56:45 +0000 Subject: Pass in Calling Convention to use into LowerCallTo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21899 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPC64ISelPattern.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Target/PowerPC/PPC64ISelPattern.cpp') diff --git a/lib/Target/PowerPC/PPC64ISelPattern.cpp b/lib/Target/PowerPC/PPC64ISelPattern.cpp index a654adced9..816d82a8ac 100644 --- a/lib/Target/PowerPC/PPC64ISelPattern.cpp +++ b/lib/Target/PowerPC/PPC64ISelPattern.cpp @@ -91,7 +91,7 @@ namespace { /// LowerCallTo - This hook lowers an abstract call to a function into an /// actual call. virtual std::pair - LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, + LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, unsigned CC, SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG); virtual std::pair @@ -235,6 +235,7 @@ PPC64TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) { std::pair PPC64TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, + unsigned CallingConv, SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG) { // args_to_use will accumulate outgoing args for the ISD::CALL case in -- cgit v1.2.3-18-g5258