diff options
author | John McCall <rjmccall@apple.com> | 2011-03-09 08:12:35 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-03-09 08:12:35 +0000 |
commit | 46288eff24ad0b4826690e598758ccf9e61d144c (patch) | |
tree | 510024e9f3834f0955bfb80e70d5eda47992b558 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 718918b07abcbed9b57e046c4091fc20d8d4cea2 (diff) | |
download | llvm-46288eff24ad0b4826690e598758ccf9e61d144c.zip llvm-46288eff24ad0b4826690e598758ccf9e61d144c.tar.gz llvm-46288eff24ad0b4826690e598758ccf9e61d144c.tar.bz2 |
Fix three of the four places where I left breadcrumbs to avoid unnecessary
recomputation.
llvm-svn: 127322
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 6768765..0205797 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -453,13 +453,15 @@ public: /// GetAddrOfCXXConstructor - Return the address of the constructor of the /// given type. - llvm::GlobalValue *GetAddrOfCXXConstructor(const CXXConstructorDecl *D, - CXXCtorType Type); + llvm::GlobalValue *GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, + CXXCtorType ctorType, + const CGFunctionInfo *fnInfo = 0); /// GetAddrOfCXXDestructor - Return the address of the constructor of the /// given type. - llvm::GlobalValue *GetAddrOfCXXDestructor(const CXXDestructorDecl *D, - CXXDtorType Type); + llvm::GlobalValue *GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, + CXXDtorType dtorType, + const CGFunctionInfo *fnInfo = 0); /// getBuiltinLibFunction - Given a builtin id for a function like /// "__builtin_fabsf", return a Function* for "fabsf". |