[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 8 23:58:12 PST 2006
Changes in directory llvm/lib/VMCore:
Dominators.cpp updated: 1.66 -> 1.67
---
Log message:
Bugfix for etforest updating. Contributed by Daniel Berlin.
---
Diffs of the changes: (+1 -1)
Dominators.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/Dominators.cpp
diff -u llvm/lib/VMCore/Dominators.cpp:1.66 llvm/lib/VMCore/Dominators.cpp:1.67
--- llvm/lib/VMCore/Dominators.cpp:1.66 Sun Jan 8 02:20:27 2006
+++ llvm/lib/VMCore/Dominators.cpp Mon Jan 9 01:58:01 2006
@@ -613,7 +613,7 @@
// Find the leftmost occurrence in the rightmost subtree, then splay
// around it.
- for (right = rightmost->Right; rightmost->Left; rightmost = rightmost->Left);
+ for (right = rightmost->Right; right->Left; right = right->Left);
right->Splay();
More information about the llvm-commits
mailing list