Bugfix for etforest updating. Contributed by Daniel Berlin.
llvm-svn: 25152
This commit is contained in:
parent
60e2c4b4e7
commit
dfa65542a1
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue