mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 01:59:58 +00:00
Change note
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IB5CJS Signed-off-by: chenhantao <chenhantao3@huawei.com> Change-Id: I2d8d44f6c23a1cb70d21a8d8df22c468e6ddff8b
This commit is contained in:
parent
0095d534b3
commit
6c6f2d57db
@ -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