diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-14 21:31:22 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-14 21:31:22 +0000 |
commit | 9be7b204010ac5794dcadbe37379a267775d7d64 (patch) | |
tree | dea746d6eed8ea2c36331610d715585a7eccafb2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 95bad854983f014d884d14c983e83415776b1e85 (diff) | |
download | bcm5719-llvm-9be7b204010ac5794dcadbe37379a267775d7d64.tar.gz bcm5719-llvm-9be7b204010ac5794dcadbe37379a267775d7d64.zip |
Revert 75648 for now. It is causing test failures.
llvm-svn: 75684
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 9ac68718a5c..b516da9a728 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -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() { |