Change LowerCallTo to take a boolean isVarArg argument. This is needed
authorNate Begeman <natebegeman@mac.com>
Sat, 26 Mar 2005 01:30:30 +0000 (01:30 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 26 Mar 2005 01:30:30 +0000 (01:30 +0000)
by the PowerPC backend, and probably others in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20843 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index e462938cc59cb5eacb1adc55d33d8abf977d1717..15a5cb9ad57cdb4200e019a40ad254481690fba4 100644 (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>