mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Bugfix for etforest updating. Contributed by Daniel Berlin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d41c981c39
commit
6b135b74bd
@ -613,7 +613,7 @@ void ETNode::Split() {
|
|||||||
|
|
||||||
// Find the leftmost occurrence in the rightmost subtree, then splay
|
// Find the leftmost occurrence in the rightmost subtree, then splay
|
||||||
// around it.
|
// around it.
|
||||||
for (right = rightmost->Right; rightmost->Left; rightmost = rightmost->Left);
|
for (right = rightmost->Right; right->Left; right = right->Left);
|
||||||
|
|
||||||
right->Splay();
|
right->Splay();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user