From: Anders Carlsson Date: Sun, 2 Aug 2009 21:34:52 +0000 (+0000) Subject: Whoops, meant to delete this. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c43f2f4340cd8b6bbf0cbc955d613c5a96388b85;p=clang Whoops, meant to delete this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77916 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {