summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-06-25 22:36:02 +0000
committerDevang Patel <dpatel@apple.com>2009-06-25 22:36:02 +0000
commit0c044ecdb0aab83cc92d296a0c9e6f7dae3d0549 (patch)
tree171d7abd91e3df8ce287b4800c1d69e298f74a4d /llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent02f3e84c5b91565f3b9c9c4793117276e38d6e4b (diff)
downloadbcm5719-llvm-0c044ecdb0aab83cc92d296a0c9e6f7dae3d0549.tar.gz
bcm5719-llvm-0c044ecdb0aab83cc92d296a0c9e6f7dae3d0549.zip
Simplify.
llvm-svn: 74215
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 483ee559ffe..89084989b87 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -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.
OpenPOWER on IntegriCloud