remove dead method.
authorChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2010 00:00:42 +0000 (00:00 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2010 00:00:42 +0000 (00:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98526 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp

index a36105f93c19205fd8e8b880f267473439a700e9..2cd477e8065cb532e131438f18f5626ba8215482 100644 (file)
@@ -305,10 +305,6 @@ namespace llvm {
                        unsigned ForcedAlignBits = 0,
                        bool UseFillExpr = true) const;
 
-    /// printLabel - This method prints a local label used by debug and
-    /// exception handling tables.
-    void printLabel(unsigned Id) const;
-
     /// printDeclare - This method prints a local variable declaration used by
     /// debug tables.
     void printDeclare(const MachineInstr *MI) const;
index 6d5adb66b7f8a269866a2d935b6d279b6456331d..d1f5afb7fd28d13b9664c6901f377b0957dc518c 100644 (file)
@@ -1556,13 +1556,6 @@ void AsmPrinter::printLabelInst(const MachineInstr *MI) const {
   OutStreamer.EmitLabel(MI->getOperand(0).getMCSymbol());
 }
 
-void AsmPrinter::printLabel(unsigned Id) const {
-  MCSymbol *Sym = 
-    OutContext.GetOrCreateTemporarySymbol(Twine(MAI->getPrivateGlobalPrefix()) +
-                                          "label" + Twine(Id));
-  OutStreamer.EmitLabel(Sym);
-}
-
 /// PrintAsmOperand - Print the specified operand of MI, an INLINEASM
 /// instruction, using the specified assembler variant.  Targets should
 /// override this to format as appropriate.