Revert 75648 for now. It is causing test failures.

llvm-svn: 75684
This commit is contained in:
Devang Patel
2009-07-14 21:31:22 +00:00
parent 95bad85498
commit 9be7b20401
5 changed files with 12 additions and 30 deletions

View File

@@ -52,9 +52,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CompileOptions &compileOpts,
Runtime = CreateMacObjCRuntime(*this);
// If debug info generation is enabled, create the CGDebugInfo object.
DebugInfo = 0;
if (CompileOpts.DebugInfo)
DebugInfo = new CGDebugInfo(this, &Context.Target);
DebugInfo = CompileOpts.DebugInfo ? new CGDebugInfo(this) : 0;
}
CodeGenModule::~CodeGenModule() {