add a new MachineBasicBlock::getSymbol method, replacing

the AsmPrinter::GetMBBSymbol.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-01-26 04:55:51 +00:00
parent 030c4bfbc9
commit f71cb015c1
19 changed files with 51 additions and 43 deletions

View File

@@ -209,7 +209,7 @@ void PIC16AsmPrinter::printOperand(const MachineInstr *MI, int opNum) {
break;
}
case MachineOperand::MO_MachineBasicBlock:
O << *GetMBBSymbol(MO.getMBB()->getNumber());
O << *MO.getMBB()->getSymbol(OutContext);
return;
default: