diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-13 18:50:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-13 18:50:42 +0000 |
commit | adf6a965a321372c640845407195594835921eb4 (patch) | |
tree | 18d834519bfeba43e0e4bca51739575349337c68 /lib/Target/PowerPC/PPC64ISelPattern.cpp | |
parent | d71c04199c447de39a2cab240c2fb7f717973e20 (diff) |
Add an isTailCall flag to LowerCallTo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC64ISelPattern.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPC64ISelPattern.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPC64ISelPattern.cpp b/lib/Target/PowerPC/PPC64ISelPattern.cpp index cfc8a5496d..ce74c58d2e 100644 --- a/lib/Target/PowerPC/PPC64ISelPattern.cpp +++ b/lib/Target/PowerPC/PPC64ISelPattern.cpp @@ -94,7 +94,8 @@ namespace { /// actual call. virtual std::pair<SDOperand, SDOperand> LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, unsigned CC, - SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG); + bool isTailCall, SDOperand Callee, ArgListTy &Args, + SelectionDAG &DAG); virtual std::pair<SDOperand, SDOperand> LowerVAStart(SDOperand Chain, SelectionDAG &DAG); @@ -237,7 +238,7 @@ PPC64TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) { std::pair<SDOperand, SDOperand> PPC64TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, - unsigned CallingConv, + unsigned CallingConv, bool isTailCall, SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG) { // args_to_use will accumulate outgoing args for the ISD::CALL case in |