diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-10 23:43:36 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-10 23:43:36 +0000 |
commit | 555b4bb2749aea2ec8e2adc351a71ec1cb9bdc33 (patch) | |
tree | 40d6bbe97757b95d9ed04906c7b937856ccba07b /lib/CodeGen/CGDecl.cpp | |
parent | 4a6835e650ff24e19ce08a3bd347c0ad186777fd (diff) |
GlobalDecl doesn't have an explicit constructor anymore.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 5abe31e252..82c1c02bf8 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -468,7 +468,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) { if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) { const FunctionDecl *FD = CA->getFunctionDecl(); - llvm::Constant* F = CGM.GetAddrOfFunction(GlobalDecl(FD)); + llvm::Constant* F = CGM.GetAddrOfFunction(FD); assert(F && "Could not find function!"); CleanupScope scope(*this); |