If we have a function with an unreachable statement such that the ending debug
[oota-llvm.git] / lib / Target / CellSPU / SPUAsmPrinter.cpp
index 5b0bacfc89f4f8db8ea80385f3578654ea6882fe..8d9e891116285123ceccd9f0ca0250ba290e5e5b 100644 (file)
@@ -461,7 +461,7 @@ LinuxAsmPrinter::runOnMachineFunction(MachineFunction &MF)
   EmitJumpTableInfo(MF.getJumpTableInfo(), MF);
   
   // Emit post-function debug information.
-  DW.EndFunction();
+  DW.EndFunction(&MF);
   
   // We didn't modify anything.
   return false;