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 | 215a9257666e146aaa954e2ecd581f46f28e1c30 (patch) | |
tree | a7f39c6c5cde70cf25f9f365ec2a0b4f2dbb0d6c /llvm/lib/Target/Sparc/SparcInstrInfo.cpp | |
parent | 1efaaeaa69c9856d2379e6246bd8253bc0680aa7 (diff) | |
download | bcm5719-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.cpp | 4 |
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; } |