diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-02 22:03:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-02 22:03:45 +0000 |
commit | d931a87f902a045aa82797228ad5a0963da2c6f4 (patch) | |
tree | 90eb283b160ccffb28d41359bc092ea193aa53e1 /clang/lib/CodeGen/CodeGenModule.h | |
parent | e83866065b206f90aae6a25724dd3c1274720269 (diff) | |
download | bcm5719-llvm-d931a87f902a045aa82797228ad5a0963da2c6f4.tar.gz bcm5719-llvm-d931a87f902a045aa82797228ad5a0963da2c6f4.zip |
More ABI API cleanup.
- Lift CGFunctionInfo creation above ReturnTypeUsesSret and
EmitFunction{Epi,Pro}log.
llvm-svn: 63553
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 724ca28b886..bedefcaa3f9 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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: |