devirtualize AsmPrinter::printBasicBlockLabel since it is never overridden.
commit08c9708a8aed7028c5e3126d2d680ee1ffb4af9f
authorChris Lattner <sabre@nondot.org>
Sat, 12 Sep 2009 23:02:08 +0000 (12 23:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Sep 2009 23:02:08 +0000 (12 23:02 +0000)
treee3202f7ce4416713cc41a6c9dd51da7e581a9029
parent69f872cbd1278b340ac8ebb23edd441cd2a0c4da
devirtualize AsmPrinter::printBasicBlockLabel since it is never overridden.
Move GetMBBSymbol up to AsmPrinter and make printBasicBlockLabel use it so that
we only have one place that decides what to name bb labels.  Hopefully various
clients of printBasicBlockLabel can start using GetMBBSymbol instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81652 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
lib/Target/X86/AsmPrinter/X86MCInstLower.h