From: Chris Lattner Date: Sun, 3 Aug 2003 21:57:05 +0000 (+0000) Subject: Start using tablegen'd instruction enum list X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d44ba8c5c2d66425caecb679727fe109d7e578d;p=oota-llvm.git Start using tablegen'd instruction enum list git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7542 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h index 9cb15c383c6..61d3123ef6b 100644 --- a/lib/Target/X86/X86.h +++ b/lib/Target/X86/X86.h @@ -47,15 +47,8 @@ Pass *createEmitX86CodeToMemory(); // #include "X86GenRegisterNames.inc" -/// X86 namespace - This namespace contains all of the register and opcode enums -/// used by the X86 backend. -/// -namespace X86 { - // This defines a large number of symbolic names for X86 instruction opcodes. - enum Opcode { -#define I(ENUM, NAME, BASEOPCODE, FLAGS, TSFLAGS, IMPDEFS, IMPUSES) ENUM, -#include "X86InstrInfo.def" - }; -} +// Defines symbolic names for the X86 instructions. +// +#include "X86GenInstrNames.inc" #endif