[llvm-commits] CVS: llvm/lib/Target/X86/Printer.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Nov 21 15:05:02 PST 2002


Changes in directory llvm/lib/Target/X86:

Printer.cpp updated: 1.14 -> 1.15

---
Log message:

Minor code cleanups


---
Diffs of the changes:

Index: llvm/lib/Target/X86/Printer.cpp
diff -u llvm/lib/Target/X86/Printer.cpp:1.14 llvm/lib/Target/X86/Printer.cpp:1.15
--- llvm/lib/Target/X86/Printer.cpp:1.14	Thu Nov 21 15:03:39 2002
+++ llvm/lib/Target/X86/Printer.cpp	Thu Nov 21 15:04:50 2002
@@ -295,7 +295,6 @@
   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 @@
     O << "\t\t\t";
     O << "-"; MI->print(O, TM);
     break;
+
   case X86II::RawFrm:
     toHex(O, getBaseOpcodeFor(Opcode));
     O << "\n\t\t\t\t";
@@ -315,7 +315,6 @@
     }
     O << "\n";
     return;
-
 
   case X86II::AddRegFrm: {
     // There are currently two forms of acceptable AddRegFrm instructions.





More information about the llvm-commits mailing list