From 88b5396b0897f28d22ae3debf4a0d97b33b6c362 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 2 Feb 2009 22:03:45 +0000 Subject: More ABI API cleanup. - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63553 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 724ca28b88..bedefcaa3f 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -244,10 +244,10 @@ public: /// ReturnTypeUsesSret - Return true iff the given type uses 'sret' /// when used as a return type. - bool ReturnTypeUsesSret(QualType RetTy); + bool ReturnTypeUsesSret(const CGFunctionInfo &FI); - void ConstructAttributeList(const Decl *TargetDecl, - const CGFunctionInfo &Info, + void ConstructAttributeList(const CGFunctionInfo &Info, + const Decl *TargetDecl, AttributeListType &PAL); private: -- cgit v1.2.3-18-g5258