arm: more optimization on MCInstrDesc struct to reduce the library size by further 20KB
This commit is contained in:
parent
e220b503f1
commit
726ade0c8d
|
@ -126,8 +126,8 @@ typedef struct MCInstrDesc {
|
|||
unsigned char Size; // Number of bytes in encoding.
|
||||
unsigned Flags; // Flags identifying machine instr class
|
||||
uint64_t TSFlags; // Target Specific Flag values
|
||||
uint16_t *ImplicitUses; // Registers implicitly read by this instr
|
||||
uint16_t *ImplicitDefs; // Registers implicitly defined by this instr
|
||||
char ImplicitUses; // Registers implicitly read by this instr
|
||||
char ImplicitDefs; // Registers implicitly defined by this instr
|
||||
MCOperandInfo *OpInfo; // 'NumOperands' entries about operands
|
||||
uint64_t DeprecatedFeatureMask;// Feature bits that this is deprecated on, if any
|
||||
// A complex method to determine is a certain is deprecated or not, and return
|
||||
|
|
|
@ -2814,21 +2814,21 @@ enum {
|
|||
|
||||
#define nullptr 0
|
||||
|
||||
#define ImplicitList1 NULL
|
||||
#define ImplicitList2 NULL
|
||||
#define ImplicitList3 NULL
|
||||
#define ImplicitList4 NULL
|
||||
#define ImplicitList5 NULL
|
||||
#define ImplicitList6 NULL
|
||||
#define ImplicitList7 NULL
|
||||
#define ImplicitList8 NULL
|
||||
#define ImplicitList9 NULL
|
||||
#define ImplicitList10 NULL
|
||||
#define ImplicitList11 NULL
|
||||
#define ImplicitList12 NULL
|
||||
#define ImplicitList13 NULL
|
||||
#define ImplicitList14 NULL
|
||||
#define ImplicitList15 NULL
|
||||
#define ImplicitList1 0
|
||||
#define ImplicitList2 0
|
||||
#define ImplicitList3 0
|
||||
#define ImplicitList4 0
|
||||
#define ImplicitList5 0
|
||||
#define ImplicitList6 0
|
||||
#define ImplicitList7 0
|
||||
#define ImplicitList8 0
|
||||
#define ImplicitList9 0
|
||||
#define ImplicitList10 0
|
||||
#define ImplicitList11 0
|
||||
#define ImplicitList12 0
|
||||
#define ImplicitList13 0
|
||||
#define ImplicitList14 0
|
||||
#define ImplicitList15 0
|
||||
|
||||
static MCOperandInfo OperandInfo2[] = { { -1, 0, MCOI_OPERAND_IMMEDIATE, 0 }, };
|
||||
static MCOperandInfo OperandInfo3[] = { { -1, 0, MCOI_OPERAND_UNKNOWN, 0 }, { -1, 0, MCOI_OPERAND_UNKNOWN, 0 }, { -1, 0, MCOI_OPERAND_IMMEDIATE, 0 }, };
|
||||
|
|
Loading…
Reference in New Issue