mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Remove filtering concept from X86 disassembler table generation. It's no longer necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -796,9 +796,6 @@ void DisassemblerTables::setTableFields(ModRMDecision &decision,
|
||||
InstructionSpecifier &previousInfo =
|
||||
InstructionSpecifiers[decision.instructionIDs[index]];
|
||||
|
||||
if(newInfo.filtered)
|
||||
continue; // filtered instructions get lowest priority
|
||||
|
||||
// Instructions such as MOV8ao8 and MOV8ao8_16 differ only in the
|
||||
// presence of the AdSize prefix. However, the disassembler doesn't
|
||||
// care about that difference in the instruction definition; it
|
||||
@@ -817,8 +814,7 @@ void DisassemblerTables::setTableFields(ModRMDecision &decision,
|
||||
if (outranks(previousInfo.insnContext, newInfo.insnContext))
|
||||
continue;
|
||||
|
||||
if (previousInfo.insnContext == newInfo.insnContext &&
|
||||
!previousInfo.filtered) {
|
||||
if (previousInfo.insnContext == newInfo.insnContext) {
|
||||
errs() << "Error: Primary decode conflict: ";
|
||||
errs() << newInfo.name << " would overwrite " << previousInfo.name;
|
||||
errs() << "\n";
|
||||
|
Reference in New Issue
Block a user