diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-31 20:28:54 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-31 20:28:54 +0000 |
commit | c9c88b4159791c48e486ca94e3743b5979e2b7a6 (patch) | |
tree | 4d85d56ca6aee06dbf8d7e691a73daa53f07e571 /lib/CodeGen/CGDecl.cpp | |
parent | 8c4dc1ffd20a8fe90a90c7f471cd9842b981078e (diff) |
Update for LLVM API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77722 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 b552da679e..7028e74491 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -105,7 +105,7 @@ CodeGenFunction::CreateStaticBlockVarDecl(const VarDecl &D, const llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(Ty); return new llvm::GlobalVariable(CGM.getModule(), LTy, Ty.isConstant(getContext()), Linkage, - VMContext.getNullValue(LTy), Name, + llvm::Constant::getNullValue(LTy), Name, 0, D.isThreadSpecified(), Ty.getAddressSpace()); } |