Bugfix for etforest updating. Contributed by Daniel Berlin.

llvm-svn: 25152
This commit is contained in:
Chris Lattner 2006-01-09 07:58:01 +00:00
parent 60e2c4b4e7
commit dfa65542a1
1 changed files with 1 additions and 1 deletions

View File

@ -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();