aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-15 00:00:42 +0000
committerChris Lattner <sabre@nondot.org>2010-03-15 00:00:42 +0000
commita833f6b0617228fa11f7d94bbabf87f737124a57 (patch)
treebdbc0f55f2ac6e3069c2561dd5bb9429f36986d4 /lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentcdff5f77872bf57ed9f9b347e49ac08b9e87800e (diff)
remove dead method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 6d5adb66b7..d1f5afb7fd 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.