Simplify.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74215 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-06-25 22:36:02 +00:00
parent 9e03cbefc5
commit 208622db8a
4 changed files with 12 additions and 22 deletions

View File

@ -42,10 +42,8 @@ void DwarfWriter::BeginModule(Module *M,
const TargetAsmInfo *T) {
DE = new DwarfException(OS, A, T);
DD = new DwarfDebug(OS, A, T);
DE->BeginModule(M);
DD->BeginModule(M);
DD->SetDebugInfo(MMI);
DE->SetModuleInfo(MMI);
DE->BeginModule(M, MMI);
DD->BeginModule(M, MMI);
}
/// EndModule - Emit all Dwarf sections that should come after the content.