mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 01:59:58 +00:00
commit
bb24e29dd7
@ -249,7 +249,7 @@ JSTaggedValue TaggedHashArray::RemoveNode(JSThread *thread, int hash, JSTaggedVa
|
||||
Set(thread, index, JSTaggedValue::Hole());
|
||||
return oldValue;
|
||||
}
|
||||
//set root node as red
|
||||
//set root node as black
|
||||
RBTreeNode *root = RBTreeNode::Cast(rootTreeNodeVa.GetTaggedObject());
|
||||
if (root->GetIsRed().ToBoolean()) {
|
||||
root->SetIsRed(thread, JSTaggedValue(false));
|
||||
|
Loading…
Reference in New Issue
Block a user