aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-13 22:54:57 +0000
committerDevang Patel <dpatel@apple.com>2009-01-13 22:54:57 +0000
commit35fe7344aedec52c3fa048237e8554f97dff9182 (patch)
tree48b899fa5df5f6d52fa98ea3e3d04ebe666a3dd2 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent39fa32403e0b5e163f4f05566d6cde65e6c11095 (diff)
Undo previous checkin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 675ae983f7..0687fd899c 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -4990,9 +4990,3 @@ unsigned DwarfWriter::getRecordSourceLineCount() {
void DwarfWriter::RecordVariable(GlobalVariable *GV, unsigned FrameIndex) {
DD->RecordVariable(GV, FrameIndex);
}
-
-/// hasDebugInfo - Return true if debug info intrinsics are seen in
-/// this module.
-bool DwarfWriter::hasDebugInfo() {
- return DD && DD->ShouldEmitDwarf();
-}