summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-02 21:34:52 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-02 21:34:52 +0000
commit59a9468b226569874514687d99a57676309b570c (patch)
tree0594277d26252501e5cd3518be38ff82ca946106 /clang/lib/CodeGen/CodeGenModule.cpp
parentf18318cf4e123b51bc3532296f37c5247d322434 (diff)
downloadbcm5719-llvm-59a9468b226569874514687d99a57676309b570c.tar.gz
bcm5719-llvm-59a9468b226569874514687d99a57676309b570c.zip
Whoops, meant to delete this.
llvm-svn: 77916
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index c37fbe2efcd..51fa3302a23 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud