mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 19:48:46 +00:00
Remove more dead code now that this is only used for inline asm.
MO_ConstantPoolIndex is handled in printLeaMemReference. MO_JumpTableIndex and MO_ExternalSymbol don't show up in inline asm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35df2e8c7f
commit
ed3eb50482
@ -257,10 +257,7 @@ static void printOperand(X86AsmPrinter &P, const MachineInstr *MI,
|
||||
O << MO.getImm();
|
||||
return;
|
||||
|
||||
case MachineOperand::MO_JumpTableIndex:
|
||||
case MachineOperand::MO_ConstantPoolIndex:
|
||||
case MachineOperand::MO_GlobalAddress:
|
||||
case MachineOperand::MO_ExternalSymbol: {
|
||||
case MachineOperand::MO_GlobalAddress: {
|
||||
if (AsmVariant == 0) O << '$';
|
||||
printSymbolOperand(P, MO, O);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user