mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Minor code cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1804233ca5
commit
47b4a9b2e0
@ -295,7 +295,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
||||
const MachineInstrDescriptor &Desc = get(Opcode);
|
||||
|
||||
// Print instruction prefixes if neccesary
|
||||
|
||||
if (Desc.TSFlags & X86II::OpSize) O << "66 "; // Operand size...
|
||||
if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix
|
||||
|
||||
@ -304,6 +303,7 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
||||
O << "\t\t\t";
|
||||
O << "-"; MI->print(O, TM);
|
||||
break;
|
||||
|
||||
case X86II::RawFrm:
|
||||
toHex(O, getBaseOpcodeFor(Opcode));
|
||||
O << "\n\t\t\t\t";
|
||||
@ -316,7 +316,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
||||
O << "\n";
|
||||
return;
|
||||
|
||||
|
||||
case X86II::AddRegFrm: {
|
||||
// There are currently two forms of acceptable AddRegFrm instructions.
|
||||
// Either the instruction JUST takes a single register (like inc, dec, etc),
|
||||
|
@ -295,7 +295,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
||||
const MachineInstrDescriptor &Desc = get(Opcode);
|
||||
|
||||
// Print instruction prefixes if neccesary
|
||||
|
||||
if (Desc.TSFlags & X86II::OpSize) O << "66 "; // Operand size...
|
||||
if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix
|
||||
|
||||
@ -304,6 +303,7 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
||||
O << "\t\t\t";
|
||||
O << "-"; MI->print(O, TM);
|
||||
break;
|
||||
|
||||
case X86II::RawFrm:
|
||||
toHex(O, getBaseOpcodeFor(Opcode));
|
||||
O << "\n\t\t\t\t";
|
||||
@ -316,7 +316,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
||||
O << "\n";
|
||||
return;
|
||||
|
||||
|
||||
case X86II::AddRegFrm: {
|
||||
// There are currently two forms of acceptable AddRegFrm instructions.
|
||||
// Either the instruction JUST takes a single register (like inc, dec, etc),
|
||||
|
Loading…
Reference in New Issue
Block a user