Make INSTRUCTION_SPECIFIER_FIELDS match X86DisassemblerCommon.h. Also remove trailing whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2012-07-31 05:18:26 +00:00
parent a40476f9cc
commit c60685e320

View File

@ -20,7 +20,7 @@
// 2. Read the opcode, and determine what kind of opcode it is. The // 2. Read the opcode, and determine what kind of opcode it is. The
// disassembler distinguishes four kinds of opcodes, which are enumerated in // disassembler distinguishes four kinds of opcodes, which are enumerated in
// OpcodeType (X86DisassemblerDecoderCommon.h): one-byte (0xnn), two-byte // OpcodeType (X86DisassemblerDecoderCommon.h): one-byte (0xnn), two-byte
// (0x0f 0xnn), three-byte-38 (0x0f 0x38 0xnn), or three-byte-3a // (0x0f 0xnn), three-byte-38 (0x0f 0x38 0xnn), or three-byte-3a
// (0x0f 0x3a 0xnn). Mandatory prefixes are treated as part of the context. // (0x0f 0x3a 0xnn). Mandatory prefixes are treated as part of the context.
// //
// 3. Depending on the opcode type, look in one of four ClassDecision structures // 3. Depending on the opcode type, look in one of four ClassDecision structures
@ -74,8 +74,7 @@
#ifndef X86DISASSEMBLER_H #ifndef X86DISASSEMBLER_H
#define X86DISASSEMBLER_H #define X86DISASSEMBLER_H
#define INSTRUCTION_SPECIFIER_FIELDS \ #define INSTRUCTION_SPECIFIER_FIELDS
const char* name;
#define INSTRUCTION_IDS \ #define INSTRUCTION_IDS \
unsigned instructionIDs; unsigned instructionIDs;
@ -88,7 +87,7 @@
#include "llvm/MC/MCDisassembler.h" #include "llvm/MC/MCDisassembler.h"
namespace llvm { namespace llvm {
class MCInst; class MCInst;
class MCInstrInfo; class MCInstrInfo;
class MCSubtargetInfo; class MCSubtargetInfo;
@ -96,7 +95,7 @@ class MemoryObject;
class raw_ostream; class raw_ostream;
struct EDInstInfo; struct EDInstInfo;
namespace X86Disassembler { namespace X86Disassembler {
/// X86GenericDisassembler - Generic disassembler for all X86 platforms. /// X86GenericDisassembler - Generic disassembler for all X86 platforms.