diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-13 02:31:35 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-13 02:31:35 +0000 |
commit | d552eee4a05789e80ef3298df473edb888471302 (patch) | |
tree | dfbbcc16b625d037dc02f8d2befbaa8d17facae8 /lib/Target/Sparc/SparcInstrInfo.cpp | |
parent | 01b36e6436a1d1d1dacdea777ae1dc7472f2fdd9 (diff) |
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/SparcInstrInfo.cpp')
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.cpp b/lib/Target/Sparc/SparcInstrInfo.cpp index 9a3ff12bf6..c2845c79c5 100644 --- a/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/lib/Target/Sparc/SparcInstrInfo.cpp @@ -107,9 +107,11 @@ unsigned SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond)const{ + // FIXME this should probably take a DebugLoc argument + DebugLoc dl = DebugLoc::getUnknownLoc(); // Can only insert uncond branches so far. assert(Cond.empty() && !FBB && TBB && "Can only handle uncond branches!"); - BuildMI(&MBB, get(SP::BA)).addMBB(TBB); + BuildMI(&MBB, dl, get(SP::BA)).addMBB(TBB); return 1; } |