summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcInstrInfo.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
commit215a9257666e146aaa954e2ecd581f46f28e1c30 (patch)
treea7f39c6c5cde70cf25f9f365ec2a0b4f2dbb0d6c /llvm/lib/Target/Sparc/SparcInstrInfo.cpp
parent1efaaeaa69c9856d2379e6246bd8253bc0680aa7 (diff)
downloadbcm5719-llvm-215a9257666e146aaa954e2ecd581f46f28e1c30.tar.gz
bcm5719-llvm-215a9257666e146aaa954e2ecd581f46f28e1c30.zip
Remove non-DebugLoc versions of buildMI from Sparc.
llvm-svn: 64435
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
index 9a3ff12bf6a..c2845c79c55 100644
--- a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud