diff options
author | Owen Anderson <resistor@mac.com> | 2008-07-08 23:36:37 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-07-08 23:36:37 +0000 |
commit | 0966f0f0e4902481b2d0e4d65813a5d32207192c (patch) | |
tree | b6f14b82a3228c32f205dc01c6c376b25ff4ff48 /lib/CodeGen/RegAllocLocal.cpp | |
parent | afbd0737e7593f1b79ed5060e506749558e82ab9 (diff) |
Fix the build. Apparently MachineInstr& is no longer implicitly convertable to MachineBasicBlock::iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index a80311a60b..ed45961db9 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -663,7 +663,7 @@ void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) { // - used in another block // - used in the same block before it is defined (loop) if (UI->getParent() != &MBB || - (MO.isDef() && UI.getOperand().isUse() && precedes(*UI, MI))) { + (MO.isDef() && UI.getOperand().isUse() && precedes(&*UI, MI))) { UsedInMultipleBlocks.set(MO.getReg() - TargetRegisterInfo::FirstVirtualRegister); usedOutsideBlock = true; |