aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/DelaySlotFiller.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-02-13 02:31:35 +0000
committerDale Johannesen <dalej@apple.com>2009-02-13 02:31:35 +0000
commitd552eee4a05789e80ef3298df473edb888471302 (patch)
treedfbbcc16b625d037dc02f8d2befbaa8d17facae8 /lib/Target/Sparc/DelaySlotFiller.cpp
parent01b36e6436a1d1d1dacdea777ae1dc7472f2fdd9 (diff)
downloadexternal_llvm-d552eee4a05789e80ef3298df473edb888471302.zip
external_llvm-d552eee4a05789e80ef3298df473edb888471302.tar.gz
external_llvm-d552eee4a05789e80ef3298df473edb888471302.tar.bz2
Remove non-DebugLoc versions of buildMI from Sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/DelaySlotFiller.cpp')
-rw-r--r--lib/Target/Sparc/DelaySlotFiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/DelaySlotFiller.cpp b/lib/Target/Sparc/DelaySlotFiller.cpp
index f6648a8..15b26c2 100644
--- a/lib/Target/Sparc/DelaySlotFiller.cpp
+++ b/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -68,7 +68,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
if (I->getDesc().hasDelaySlot()) {
MachineBasicBlock::iterator J = I;
++J;
- BuildMI(MBB, J, TII->get(SP::NOP));
+ BuildMI(MBB, J, DebugLoc::getUnknownLoc(), TII->get(SP::NOP));
++FilledSlots;
Changed = true;
}