forked from OSchip/llvm-project
The rest of r198588. Remove SegOvrBits from X86 TSFlags since they weren't being used.
llvm-svn: 198589
This commit is contained in:
parent
7c6baa7834
commit
2ea87dad77
|
@ -230,7 +230,6 @@ RecognizableInstr::RecognizableInstr(DisassemblerTables &tables,
|
||||||
Prefix = byteFromRec(Rec, "Prefix");
|
Prefix = byteFromRec(Rec, "Prefix");
|
||||||
Opcode = byteFromRec(Rec, "Opcode");
|
Opcode = byteFromRec(Rec, "Opcode");
|
||||||
Form = byteFromRec(Rec, "FormBits");
|
Form = byteFromRec(Rec, "FormBits");
|
||||||
SegOvr = byteFromRec(Rec, "SegOvrBits");
|
|
||||||
|
|
||||||
HasOpSizePrefix = Rec->getValueAsBit("hasOpSizePrefix");
|
HasOpSizePrefix = Rec->getValueAsBit("hasOpSizePrefix");
|
||||||
HasAdSizePrefix = Rec->getValueAsBit("hasAdSizePrefix");
|
HasAdSizePrefix = Rec->getValueAsBit("hasAdSizePrefix");
|
||||||
|
@ -490,12 +489,6 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
|
||||||
// Filter out artificial instructions but leave in the LOCK_PREFIX so it is
|
// Filter out artificial instructions but leave in the LOCK_PREFIX so it is
|
||||||
// printed as a separate "instruction".
|
// printed as a separate "instruction".
|
||||||
|
|
||||||
// Filter out instructions with segment override prefixes.
|
|
||||||
// They're too messy to handle now and we'll special case them if needed.
|
|
||||||
|
|
||||||
if (SegOvr)
|
|
||||||
return FILTER_STRONG;
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////
|
/////////////////
|
||||||
// FILTER_WEAK
|
// FILTER_WEAK
|
||||||
|
|
|
@ -44,8 +44,6 @@ private:
|
||||||
uint8_t Opcode;
|
uint8_t Opcode;
|
||||||
/// The form field from the record
|
/// The form field from the record
|
||||||
uint8_t Form;
|
uint8_t Form;
|
||||||
/// The segment override field from the record
|
|
||||||
uint8_t SegOvr;
|
|
||||||
/// The hasOpSizePrefix field from the record
|
/// The hasOpSizePrefix field from the record
|
||||||
bool HasOpSizePrefix;
|
bool HasOpSizePrefix;
|
||||||
/// The hasAdSizePrefix field from the record
|
/// The hasAdSizePrefix field from the record
|
||||||
|
|
Loading…
Reference in New Issue