forked from OSchip/llvm-project
Minimize duplicated code in AsmPrinter::printLabel.
llvm-svn: 52944
This commit is contained in:
parent
fb19f9402b
commit
b58aff4858
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue