Use MachineInstr as an processDebugLoc() argument.
[oota-llvm.git] / lib / Target / MSP430 / AsmPrinter / MSP430AsmPrinter.cpp
index d849a837502086154cb31d8f9839f928bad88b72..7dbd5ab483a03479332a355fdb8ec51dd9dea03d 100644 (file)
@@ -148,7 +148,7 @@ bool MSP430AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
 void MSP430AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
   ++EmittedInsts;
 
-  processDebugLoc(MI->getDebugLoc());
+  processDebugLoc(MI);
 
   // Call the autogenerated instruction printer routines.
   printInstruction(MI);