summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 00:13:49 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 00:13:49 +0000
commit3a383cb7d93228ae7b31ca8ca048e666bb5c4a63 (patch)
treecd8bd2bd4cfdd19af3995e8a3c86414cbf31fb64 /llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parentaabc6041de259121447275edd50fc37b5031a8fe (diff)
downloadbcm5719-llvm-3a383cb7d93228ae7b31ca8ca048e666bb5c4a63.tar.gz
bcm5719-llvm-3a383cb7d93228ae7b31ca8ca048e666bb5c4a63.zip
1) make DIE take AsmPrinter instead of DwarfPrinter.
2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 7aa928170cc..40934e80d49 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -65,7 +65,7 @@ void DwarfWriter::EndFunction(const MachineFunction *MF) {
DD->endFunction(MF);
DE->EndFunction();
- if (MachineModuleInfo *MMI = DD->getMMI() ? DD->getMMI() : DE->getMMI())
+ if (MachineModuleInfo *MMI = DE->getMMI())
// Clear function debug information.
MMI->EndFunction();
}
OpenPOWER on IntegriCloud