Minimize duplicated code in AsmPrinter::printLabel.

llvm-svn: 52944
This commit is contained in:
Dan Gohman 2008-07-01 00:16:26 +00:00
parent fb19f9402b
commit b58aff4858
1 changed files with 1 additions and 2 deletions

View File

@ -1318,8 +1318,7 @@ void AsmPrinter::printImplicitDef(const MachineInstr *MI) const {
/// printLabel - This method prints a local label used by debug and
/// exception handling tables.
void AsmPrinter::printLabel(const MachineInstr *MI) const {
O << TAI->getPrivateGlobalPrefix()
<< "label" << MI->getOperand(0).getImm() << ":\n";
printLabel(MI->getOperand(0).getImm());
}
void AsmPrinter::printLabel(unsigned Id) const {