Use MachineInstr as an processDebugLoc() argument.
[oota-llvm.git] / lib / Target / Alpha / AsmPrinter / AlphaAsmPrinter.cpp
index 0e36df3fa31161446b8eb97aa75db3e02af85dc4..aed3b9a7898547bd0d4039d8694b272a4e76433c 100644 (file)
@@ -177,7 +177,7 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
          II != E; ++II) {
       // Print the assembly for the instruction.
       ++EmittedInsts;
-      processDebugLoc(II->getDebugLoc());
+      processDebugLoc(II);
       
       printInstruction(II);