mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Minimize duplicated code in AsmPrinter::printLabel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52944 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1318,8 +1318,7 @@ void AsmPrinter::printImplicitDef(const MachineInstr *MI) const {
|
|||||||
/// printLabel - This method prints a local label used by debug and
|
/// printLabel - This method prints a local label used by debug and
|
||||||
/// exception handling tables.
|
/// exception handling tables.
|
||||||
void AsmPrinter::printLabel(const MachineInstr *MI) const {
|
void AsmPrinter::printLabel(const MachineInstr *MI) const {
|
||||||
O << TAI->getPrivateGlobalPrefix()
|
printLabel(MI->getOperand(0).getImm());
|
||||||
<< "label" << MI->getOperand(0).getImm() << ":\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AsmPrinter::printLabel(unsigned Id) const {
|
void AsmPrinter::printLabel(unsigned Id) const {
|
||||||
|
|||||||
Reference in New Issue
Block a user