Fix braino in dominator tree walk.

llvm-svn: 123338
This commit is contained in:
Jakob Stoklund Olesen 2011-01-12 23:14:04 +00:00
parent 59a7dc95de
commit 2ffee66e10
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ void UserValue::extendDef(SlotIndex Idx, unsigned LocNo,
SlotIndex Start = Todo.pop_back_val();
MachineBasicBlock *MBB = LIS.getMBBFromIndex(Start);
SlotIndex Stop = LIS.getMBBEndIdx(MBB);
LocMap::iterator I = locInts.find(Idx);
LocMap::iterator I = locInts.find(Start);
// Limit to VNI's live range.
bool ToEnd = true;