mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for
MBB labels like everything else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -58,11 +58,6 @@ void X86ATTAsmPrinter::print_pcrel_imm(const MCInst *MI, unsigned OpNo) {
|
||||
O << Op.getImm();
|
||||
else if (Op.isExpr())
|
||||
Op.getExpr()->print(O, MAI);
|
||||
else if (Op.isMBBLabel())
|
||||
// FIXME: Keep in sync with printBasicBlockLabel. printBasicBlockLabel
|
||||
// should eventually call into this code, not the other way around.
|
||||
O << MAI->getPrivateGlobalPrefix() << "BB" << Op.getMBBLabelFunction()
|
||||
<< '_' << Op.getMBBLabelBlock();
|
||||
else
|
||||
llvm_unreachable("Unknown pcrel immediate operand");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user