rename printMachineInstruction -> EmitInstruction
[oota-llvm.git] / lib / Target / PIC16 / AsmPrinter / PIC16AsmPrinter.cpp
index 3670efcc22c6c73e8f92a2c34d0d4da20ae0ca92..0a27827311de679b1dfc45d164a95717ca0af50c 100644 (file)
@@ -43,14 +43,9 @@ PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
   PTOF = (PIC16TargetObjectFile *)&PTLI->getObjFileLowering();
 }
 
-bool PIC16AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
-  processDebugLoc(MI, true);
+void PIC16AsmPrinter::EmitInstruction(const MachineInstr *MI) {
   printInstruction(MI);
-  if (VerboseAsm)
-    EmitComments(*MI);
   O << '\n';
-  processDebugLoc(MI, false);
-  return true;
 }
 
 static int getFunctionColor(const Function *F) {
@@ -148,7 +143,7 @@ bool PIC16AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
       }
         
       // Print the assembly for the instruction.
-      printMachineInstruction(II);
+      EmitInstruction(II);
     }
   }