Change LowerCallTo to take a boolean isVarArg argument. This is needed

by the PowerPC backend, and probably others in the future.

llvm-svn: 20843
This commit is contained in:
Nate Begeman 2005-03-26 01:30:30 +00:00
parent f656525cb6
commit 0bea1090dd
1 changed files with 2 additions and 3 deletions

View File

@ -234,10 +234,9 @@ public:
/// element is the outgoing token chain.
typedef std::vector<std::pair<SDOperand, const Type*> > ArgListTy;
virtual std::pair<SDOperand, SDOperand>
LowerCallTo(SDOperand Chain, const Type *RetTy, SDOperand Callee,
ArgListTy &Args, SelectionDAG &DAG) = 0;
LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg,
SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG) = 0;
/// LowerVAStart - This lowers the llvm.va_start intrinsic. If not
/// implemented, this method prints a message and aborts.
virtual std::pair<SDOperand, SDOperand>