1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Minor cleanup for jump table printing. Need a reference, not a pointer, for

printing via <<. Otherwise we just print the pointer value.

llvm-svn: 93777
This commit is contained in:
Jim Grosbach 2010-01-18 22:01:39 +00:00
parent 6020407d78
commit 27e064420b

View File

@ -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 {