summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-12 19:56:45 +0000
committerChris Lattner <sabre@nondot.org>2005-05-12 19:56:45 +0000
commit36674a123e6073c2f95f6322b14378a151c226f8 (patch)
tree331c4e3ab695561251389bd382aa4fbb6daac679 /llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
parentb5ff4e5e10e5201d32f63b50e8ad07123f06f3e6 (diff)
downloadbcm5719-llvm-36674a123e6073c2f95f6322b14378a151c226f8.tar.gz
bcm5719-llvm-36674a123e6073c2f95f6322b14378a151c226f8.zip
Pass in Calling Convention to use into LowerCallTo
llvm-svn: 21899
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp b/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
index a654adced92..816d82a8ac6 100644
--- a/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
+++ b/llvm/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<SDOperand, SDOperand>
- 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<SDOperand, SDOperand>
@@ -235,6 +235,7 @@ PPC64TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
std::pair<SDOperand, SDOperand>
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
OpenPOWER on IntegriCloud