Remove comment
authorChris Lattner <sabre@nondot.org>
Mon, 2 Dec 2002 21:40:46 +0000 (21:40 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Dec 2002 21:40:46 +0000 (21:40 +0000)
Remove handling of OtherFrm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4867 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/Printer.cpp
lib/Target/X86/X86AsmPrinter.cpp

index 4a39c2e322cdacbe628b761cbf5d40e9bc12b947..3edb8d47baf3bd9ae6eaab089e1ba757ec0cd1e5 100644 (file)
@@ -42,8 +42,6 @@ bool Printer::runOnFunction (Function & F)
   MachineFunction & MF = MachineFunction::get (&F);
   const MachineInstrInfo & MII = TM.getInstrInfo ();
 
-  O << "; x86 printing only sorta implemented so far!\n";
-
   // Print out labels for the function.
   O << "\t.globl\t" << F.getName () << "\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
 
   switch (Desc.TSFlags & X86II::FormMask) {
-  case X86II::OtherFrm:
-    O << "\t\t\t";
-    O << "-"; MI->print(O, TM);
-    break;
-
   case X86II::RawFrm:
     // The accepted forms of Raw instructions are:
     //   1. nop     - No operand required
index 4a39c2e322cdacbe628b761cbf5d40e9bc12b947..3edb8d47baf3bd9ae6eaab089e1ba757ec0cd1e5 100644 (file)
@@ -42,8 +42,6 @@ bool Printer::runOnFunction (Function & F)
   MachineFunction & MF = MachineFunction::get (&F);
   const MachineInstrInfo & MII = TM.getInstrInfo ();
 
-  O << "; x86 printing only sorta implemented so far!\n";
-
   // Print out labels for the function.
   O << "\t.globl\t" << F.getName () << "\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
 
   switch (Desc.TSFlags & X86II::FormMask) {
-  case X86II::OtherFrm:
-    O << "\t\t\t";
-    O << "-"; MI->print(O, TM);
-    break;
-
   case X86II::RawFrm:
     // The accepted forms of Raw instructions are:
     //   1. nop     - No operand required