summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-09 07:58:01 +0000
committerChris Lattner <sabre@nondot.org>2006-01-09 07:58:01 +0000
commitdfa65542a17ac47210c8dca0fb43da70a0c381c3 (patch)
tree7ccb6505138e8ffd9ecc8cbc4166ceeb1dadeaa5 /llvm
parent60e2c4b4e74045563e01b345de518563b9807677 (diff)
downloadbcm5719-llvm-dfa65542a17ac47210c8dca0fb43da70a0c381c3.tar.gz
bcm5719-llvm-dfa65542a17ac47210c8dca0fb43da70a0c381c3.zip
Bugfix for etforest updating. Contributed by Daniel Berlin.
llvm-svn: 25152
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Dominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Dominators.cpp b/llvm/lib/VMCore/Dominators.cpp
index d328c3015cf..6021b33941b 100644
--- a/llvm/lib/VMCore/Dominators.cpp
+++ b/llvm/lib/VMCore/Dominators.cpp
@@ -613,7 +613,7 @@ void ETNode::Split() {
// 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();
OpenPOWER on IntegriCloud