diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-09 07:58:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-09 07:58:01 +0000 |
commit | dfa65542a17ac47210c8dca0fb43da70a0c381c3 (patch) | |
tree | 7ccb6505138e8ffd9ecc8cbc4166ceeb1dadeaa5 /llvm | |
parent | 60e2c4b4e74045563e01b345de518563b9807677 (diff) | |
download | bcm5719-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.cpp | 2 |
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(); |