diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-12 23:14:04 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-12 23:14:04 +0000 |
commit | 2ffee66e10ec91a84d3e62b213b3d674723596d8 (patch) | |
tree | 96c10ecef810067444e6dcb44c4a4c1c0c65bfff /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 59a7dc95deef20ca25282e85f367214f7f733220 (diff) | |
download | llvm-2ffee66e10ec91a84d3e62b213b3d674723596d8.zip llvm-2ffee66e10ec91a84d3e62b213b3d674723596d8.tar.gz llvm-2ffee66e10ec91a84d3e62b213b3d674723596d8.tar.bz2 |
Fix braino in dominator tree walk.
llvm-svn: 123338
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 1e2dba2..fc6275f 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -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; |