diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-15 00:00:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-15 00:00:42 +0000 |
commit | 54e7364e4b37a5698f1f2317bf73615b6410dbbc (patch) | |
tree | bdbc0f55f2ac6e3069c2561dd5bb9429f36986d4 | |
parent | 06c9e71e55059936cd2697a98cc3f32d9c1acdc3 (diff) | |
download | external_llvm-54e7364e4b37a5698f1f2317bf73615b6410dbbc.zip external_llvm-54e7364e4b37a5698f1f2317bf73615b6410dbbc.tar.gz external_llvm-54e7364e4b37a5698f1f2317bf73615b6410dbbc.tar.bz2 |
remove dead method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98526 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index a36105f..2cd477e 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -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; diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 6d5adb6..d1f5afb 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -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. |