[mips] Remove incorrect DebugLoc entries from prologue
[oota-llvm.git] / lib / Target / Mips / MipsSEFrameLowering.cpp
index 5b4608fad2b83b32e448ef583842fc9b0814d9b7..a516e94797556cadf273fe0077d399e807e7875a 100644 (file)
@@ -376,7 +376,7 @@ void MipsSEFrameLowering::emitPrologue(MachineFunction &MF,
       *static_cast<const MipsRegisterInfo *>(STI.getRegisterInfo());
 
   MachineBasicBlock::iterator MBBI = MBB.begin();
-  DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
+  DebugLoc dl;
   MipsABIInfo ABI = STI.getABI();
   unsigned SP = ABI.GetStackPtr();
   unsigned FP = ABI.GetFramePtr();