projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f203627
)
Fix braino in dominator tree walk.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Wed, 12 Jan 2011 23:14:04 +0000
(23:14 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Wed, 12 Jan 2011 23:14:04 +0000
(23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123338
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveDebugVariables.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveDebugVariables.cpp
b/lib/CodeGen/LiveDebugVariables.cpp
index 1e2dba29b92f2dae7ae975c4be9b618fc8a2ec78..fc6275fa5e64412f5fd0fafcb662b4da9c9e1cd2 100644
(file)
--- a/
lib/CodeGen/LiveDebugVariables.cpp
+++ b/
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;