From b242ae6dccbf22c3be3b451dbd458511df84d748 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 9 Mar 2010 00:00:57 +0000 Subject: remove the suffix form of PrintLabelName, which was only used for 'flavor'. llvm-svn: 98012 --- llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 8 -------- llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.h | 2 -- 2 files changed, 10 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index 1d21488e2b5..a40bd54f8cf 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -218,14 +218,6 @@ void DwarfPrinter::PrintLabelName(const MCSymbol *Label) const { O << Label->getName(); } -void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number, - const char *Suffix) const { - // FIXME: REMOVE. - O << MAI->getPrivateGlobalPrefix() << Tag; - if (Number) O << Number; - O << Suffix; -} - /// EmitReference - Emit a reference to a label. /// void DwarfPrinter::EmitReference(const MCSymbol *Sym, bool IsPCRelative, diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.h b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.h index 19c05b7a70b..fc9f3fe9eef 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.h @@ -117,8 +117,6 @@ public: /// PrintLabelName - Print label name in form used by Dwarf writer. /// void PrintLabelName(const MCSymbol *Label) const; - void PrintLabelName(const char *Tag, unsigned Number, - const char *Suffix) const; /// EmitReference - Emit a reference to a label. /// -- cgit v1.2.3