mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Remove comment
Remove handling of OtherFrm git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -42,8 +42,6 @@ bool Printer::runOnFunction (Function & F)
|
|||||||
MachineFunction & MF = MachineFunction::get (&F);
|
MachineFunction & MF = MachineFunction::get (&F);
|
||||||
const MachineInstrInfo & MII = TM.getInstrInfo ();
|
const MachineInstrInfo & MII = TM.getInstrInfo ();
|
||||||
|
|
||||||
O << "; x86 printing only sorta implemented so far!\n";
|
|
||||||
|
|
||||||
// Print out labels for the function.
|
// Print out labels for the function.
|
||||||
O << "\t.globl\t" << F.getName () << "\n";
|
O << "\t.globl\t" << F.getName () << "\n";
|
||||||
O << "\t.type\t" << F.getName () << ", @function\n";
|
O << "\t.type\t" << F.getName () << ", @function\n";
|
||||||
@@ -306,11 +304,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
|||||||
if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix
|
if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix
|
||||||
|
|
||||||
switch (Desc.TSFlags & X86II::FormMask) {
|
switch (Desc.TSFlags & X86II::FormMask) {
|
||||||
case X86II::OtherFrm:
|
|
||||||
O << "\t\t\t";
|
|
||||||
O << "-"; MI->print(O, TM);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case X86II::RawFrm:
|
case X86II::RawFrm:
|
||||||
// The accepted forms of Raw instructions are:
|
// The accepted forms of Raw instructions are:
|
||||||
// 1. nop - No operand required
|
// 1. nop - No operand required
|
||||||
|
@@ -42,8 +42,6 @@ bool Printer::runOnFunction (Function & F)
|
|||||||
MachineFunction & MF = MachineFunction::get (&F);
|
MachineFunction & MF = MachineFunction::get (&F);
|
||||||
const MachineInstrInfo & MII = TM.getInstrInfo ();
|
const MachineInstrInfo & MII = TM.getInstrInfo ();
|
||||||
|
|
||||||
O << "; x86 printing only sorta implemented so far!\n";
|
|
||||||
|
|
||||||
// Print out labels for the function.
|
// Print out labels for the function.
|
||||||
O << "\t.globl\t" << F.getName () << "\n";
|
O << "\t.globl\t" << F.getName () << "\n";
|
||||||
O << "\t.type\t" << F.getName () << ", @function\n";
|
O << "\t.type\t" << F.getName () << ", @function\n";
|
||||||
@@ -306,11 +304,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
|||||||
if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix
|
if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix
|
||||||
|
|
||||||
switch (Desc.TSFlags & X86II::FormMask) {
|
switch (Desc.TSFlags & X86II::FormMask) {
|
||||||
case X86II::OtherFrm:
|
|
||||||
O << "\t\t\t";
|
|
||||||
O << "-"; MI->print(O, TM);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case X86II::RawFrm:
|
case X86II::RawFrm:
|
||||||
// The accepted forms of Raw instructions are:
|
// The accepted forms of Raw instructions are:
|
||||||
// 1. nop - No operand required
|
// 1. nop - No operand required
|
||||||
|
Reference in New Issue
Block a user