aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 00:26:50 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 00:26:50 +0000
commit84ac8b7f43514eda99b0de27c68fbcb5bfa2f399 (patch)
tree2b63087932859bedf5bd99f809632acbe08b9ca4 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parenta37d5387a54aa9424f6f8c96e5cab1dcbbcd8623 (diff)
make DwarfException not inherit from DwarfPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 40934e80d4..1b019cd294 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -39,7 +39,6 @@ DwarfWriter::~DwarfWriter() {
void DwarfWriter::BeginModule(Module *M, AsmPrinter *A) {
DE = new DwarfException(A);
DD = new DwarfDebug(A);
- DE->BeginModule(M);
DD->beginModule(M);
}
@@ -65,7 +64,7 @@ void DwarfWriter::EndFunction(const MachineFunction *MF) {
DD->endFunction(MF);
DE->EndFunction();
- if (MachineModuleInfo *MMI = DE->getMMI())
+ if (MachineModuleInfo *MMI = DE->MMI)
// Clear function debug information.
MMI->EndFunction();
}