commit | c7f3ace20c325521c68335a1689645b43b06ddf0 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Apr 02 20:16:16 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Apr 02 20:16:16 2010 +0000 |
tree | 901a5d915c2a5d1003a41c1001a637d2621d44f5 | |
parent | de4845c163a5847c82d7ce10ed0c320098bce6e0 [diff] [blame] |
use DebugLoc default ctor instead of DebugLoc::getUnknownLoc() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100214 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Sparc/DelaySlotFiller.cpp b/lib/Target/Sparc/DelaySlotFiller.cpp index 15b26c2..9e148ad 100644 --- a/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -68,7 +68,7 @@ if (I->getDesc().hasDelaySlot()) { MachineBasicBlock::iterator J = I; ++J; - BuildMI(MBB, J, DebugLoc::getUnknownLoc(), TII->get(SP::NOP)); + BuildMI(MBB, J, DebugLoc(), TII->get(SP::NOP)); ++FilledSlots; Changed = true; }