]> granicus.if.org Git - clang/commitdiff
Whoops, meant to delete this.
authorAnders Carlsson <andersca@mac.com>
Sun, 2 Aug 2009 21:34:52 +0000 (21:34 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 2 Aug 2009 21:34:52 +0000 (21:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77916 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index c37fbe2efcdf01e6d87f795cd8e56d1f890aa715..51fa3302a2384d643e6831a86ceb000650d59b69 100644 (file)
@@ -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) {