[X86] Remove some unused code from disassembler.
authorCraig Topper <craig.topper@gmail.com>
Tue, 3 Mar 2015 05:24:03 +0000 (05:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 3 Mar 2015 05:24:03 +0000 (05:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231055 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h

index 70c604213f864632cba00d77a5d0391a3aedb51e..9e6505001393500466264e9e4ab39a4033faaa34 100644 (file)
@@ -485,18 +485,6 @@ struct OperandSpecifier {
   uint8_t type;
 };
 
-// Indicates where the opcode modifier (if any) is to be found.  Extended
-// opcodes with AddRegFrm have the opcode modifier in the ModR/M byte.
-#define MODIFIER_TYPES        \
-  ENUM_ENTRY(MODIFIER_NONE)
-
-#define ENUM_ENTRY(n) n,
-enum ModifierType {
-  MODIFIER_TYPES
-  MODIFIER_max
-};
-#undef ENUM_ENTRY
-
 static const unsigned X86_MAX_OPERANDS = 6;
 
 /// Decoding mode for the Intel disassembler.  16-bit, 32-bit, and 64-bit mode