From: Rafael Espindola Date: Wed, 27 Nov 2013 15:13:06 +0000 (+0000) Subject: Remove more dead code now that this is only used for inline asm. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ed3eb50482aaa989271f4e9d1c0e812b90daa908;p=oota-llvm.git 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 --- diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index f2f53310f40..924c4e9166a 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -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;