commit | 948175785d1e5e7d3d627d11dbb0392b976d135d | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Fri Feb 13 02:34:39 2009 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Fri Feb 13 02:34:39 2009 +0000 |
tree | cf08493437d055fae2d8775a07f3a1b3e406920a | |
parent | 8d13f8f1043d8b47940ecab7bac838ff1e8166f8 [diff] [blame] |
Remove non-DebugLoc versions of BuildMI from IA64, Mips. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64438 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index 4825b29..a2b615d 100644 --- a/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/lib/Target/Mips/MipsDelaySlotFiller.cpp
@@ -62,7 +62,7 @@ if (I->getDesc().hasDelaySlot()) { MachineBasicBlock::iterator J = I; ++J; - BuildMI(MBB, J, TII->get(Mips::NOP)); + BuildMI(MBB, J, I->getDebugLoc(), TII->get(Mips::NOP)); ++FilledSlots; Changed = true; }