ABI handling API changes.
 - Lift CGFunctionInfo creation up to callers of EmitCall.

 - Move isVariadic bit out of CGFunctionInfo, take as argument to
   GetFunctionType instead.

No functionality change.

llvm-svn: 63550
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index e736fe5..1bacff2 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -55,6 +55,7 @@
 namespace CodeGen {
   class CodeGenModule;
   class CodeGenTypes;
+  class CGFunctionInfo;
   class CGRecordLayout;  
   
 /// CodeGenFunction - This class organizes the per-function state that is used
@@ -543,7 +544,7 @@
   /// specifies both the LLVM arguments and the types they were
   /// derived from.
   RValue EmitCall(llvm::Value *Callee,
-                  QualType ResultType,
+                  const CGFunctionInfo &FnInfo,
                   const CallArgList &Args);
 
   RValue EmitCallExpr(const CallExpr *E);