forked from OSchip/llvm-project
Recursively delete rewrite rope nodes when tearing down the tree.
llvm-svn: 154760
This commit is contained in:
parent
67de410135
commit
c2a4475caa
|
@ -407,6 +407,11 @@ namespace {
|
|||
Size = LHS->size() + RHS->size();
|
||||
}
|
||||
|
||||
~RopePieceBTreeInterior() {
|
||||
Children[0]->Destroy();
|
||||
Children[1]->Destroy();
|
||||
}
|
||||
|
||||
bool isFull() const { return NumChildren == 2*WidthFactor; }
|
||||
|
||||
unsigned getNumChildren() const { return NumChildren; }
|
||||
|
|
Loading…
Reference in New Issue