aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-10-06 02:01:32 +0000
committerDevang Patel <dpatel@apple.com>2009-10-06 02:01:32 +0000
commitac35dcf9887f9e7883745876525c2a7dc39bf8d4 (patch)
treeb2eb107982abc287c9435cb253f5dfebfd27b9e0 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent393a46deb66be6885fd064a38e650bed859af5a1 (diff)
downloadexternal_llvm-ac35dcf9887f9e7883745876525c2a7dc39bf8d4.zip
external_llvm-ac35dcf9887f9e7883745876525c2a7dc39bf8d4.tar.gz
external_llvm-ac35dcf9887f9e7883745876525c2a7dc39bf8d4.tar.bz2
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index c727465..fc3201d 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1989,24 +1989,6 @@ void DwarfDebug::EndFunction(MachineFunction *MF) {
/// RecordSourceLine - Records location information and associates it with a
/// label. Returns a unique label ID used to generate a label and provide
/// correspondence to the source line list.
-unsigned DwarfDebug::RecordSourceLine(Value *V, unsigned Line, unsigned Col) {
- if (TimePassesIsEnabled)
- DebugTimer->startTimer();
-
- CompileUnit *Unit = CompileUnitMap[V];
- assert(Unit && "Unable to find CompileUnit");
- unsigned ID = MMI->NextLabelID();
- Lines.push_back(SrcLineInfo(Line, Col, Unit->getID(), ID));
-
- if (TimePassesIsEnabled)
- DebugTimer->stopTimer();
-
- return ID;
-}
-
-/// RecordSourceLine - Records location information and associates it with a
-/// label. Returns a unique label ID used to generate a label and provide
-/// correspondence to the source line list.
unsigned DwarfDebug::RecordSourceLine(unsigned Line, unsigned Col,
MDNode *S) {
if (!MMI)