From bb36d331f439f49859efcfb4435c61762fbba6f9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 2 Feb 2009 21:43:58 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63550 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index e736fe5e16..1bacff2480 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -55,6 +55,7 @@ namespace clang { 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 @@ public: /// 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); -- cgit v1.2.3