From 287dc5be0de71499251d3f00109d27966ca466f4 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Tue, 2 May 2006 17:34:51 +0000 Subject: Hooray, everyone now uses the same printBasicBlockLabel implementation llvm-svn: 28056 --- llvm/lib/Target/X86/X86AsmPrinter.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'llvm/lib/Target/X86/X86AsmPrinter.cpp') diff --git a/llvm/lib/Target/X86/X86AsmPrinter.cpp b/llvm/lib/Target/X86/X86AsmPrinter.cpp index 2c41663d9d5..f12ba51f1f3 100644 --- a/llvm/lib/Target/X86/X86AsmPrinter.cpp +++ b/llvm/lib/Target/X86/X86AsmPrinter.cpp @@ -206,18 +206,6 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) { return false; // success } -void X86SharedAsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB, - bool printColon, - bool printComment) const { - O << PrivateGlobalPrefix << "BB" - << Mang->getValueName(MBB->getParent()->getFunction()) << "_" - << MBB->getNumber(); - if (printColon) - O << ':'; - if (printComment) - O << '\t' << CommentString << MBB->getBasicBlock()->getName(); -} - /// createX86CodePrinterPass - Returns a pass that prints the X86 assembly code /// for a MachineFunction to the given output stream, using the given target /// machine description. -- cgit v1.2.3