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.

llvm-svn: 195847
This commit is contained in:
Rafael Espindola 2013-11-27 15:13:06 +00:00
parent b4586f4217
commit c5c7bb6b20
1 changed files with 1 additions and 4 deletions

View File

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