Fix a bug in codegenprep where it was losing track of values OptimizeMemoryInst
[oota-llvm.git] / utils / TableGen / X86DisassemblerShared.h
index 7fcd122b6b3bc6f494c60f6e40eccbb3857acae3..3ff922b8225c91caac7096a50941b054afa8d229 100644 (file)
 #ifndef X86DISASSEMBLERSHARED_H
 #define X86DISASSEMBLERSHARED_H
 
+#include <string.h>
 #include <string>
 
 #define INSTRUCTION_SPECIFIER_FIELDS       \
+  struct OperandSpecifier operands[X86_MAX_OPERANDS]; \
   bool                    filtered;        \
   InstructionContext      insnContext;     \
   std::string             name;            \