mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Minor cleanup for jump table printing. Need a reference, not a pointer, for
printing via <<. Otherwise we just print the pointer value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1dafbe1738
commit
6a19947dd6
@ -968,7 +968,7 @@ void ARMAsmPrinter::printJT2BlockOperand(const MachineInstr *MI, int OpNum) {
|
||||
else if (HalfWordOffset)
|
||||
O << MAI->getData16bitsDirective();
|
||||
if (ByteOffset || HalfWordOffset) {
|
||||
O << '(' << GetMBBSymbol(MBB->getNumber());
|
||||
O << '(' << *GetMBBSymbol(MBB->getNumber());
|
||||
O << "-" << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber()
|
||||
<< '_' << JTI << '_' << MO2.getImm() << ")/2";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user