Whoops, meant to delete this.

llvm-svn: 77916
This commit is contained in:
Anders Carlsson 2009-08-02 21:34:52 +00:00
parent f18318cf4e
commit 59a9468b22
1 changed files with 0 additions and 1 deletions

View 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) {