diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-02 21:34:52 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-02 21:34:52 +0000 |
commit | c43f2f4340cd8b6bbf0cbc955d613c5a96388b85 (patch) | |
tree | 4eff884fe08bbeaeee98c424218b81c1ae225a15 /lib/CodeGen/CodeGenModule.cpp | |
parent | b0d0ea042116c1f451d3db8ceff9f1dd92bc36d2 (diff) |
Whoops, meant to delete this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index c37fbe2efc..51fa3302a2 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -811,7 +811,6 @@ void CodeGenModule::EmitGlobalVarDefinition(const VarDecl *D) { // to do a RAUW. assert(!ASTTy->isIncompleteType() && "Unexpected incomplete type"); Init = EmitNullConstant(D->getType()); - Init = llvm::Constant::getNullValue(getTypes().ConvertTypeForMem(ASTTy)); } else { Init = EmitConstantExpr(D->getInit(), D->getType()); if (!Init) { |