Searched refs:cloneObject (Results 1 – 1 of 1) sorted by relevance
435 JSHandle<JSObject> cloneObject = NewJSObject(klass); in CloneObjectLiteral() local439 cloneObject->SetElements(thread_, newElements.GetTaggedValue()); in CloneObjectLiteral()443 cloneObject->SetProperties(thread_, newProperties.GetTaggedValue()); in CloneObjectLiteral()446 cloneObject->SetPropertyInlinedPropsWithRep(thread_, i, object->GetPropertyInlinedProps(i)); in CloneObjectLiteral()448 return cloneObject; in CloneObjectLiteral()456 JSHandle<JSArray> cloneObject(NewJSObject(klass)); in CloneArrayLiteral() local457 cloneObject->SetArrayLength(thread_, object->GetArrayLength()); in CloneArrayLiteral()471 cloneObject->SetElements(thread_, elements.GetTaggedValue()); in CloneArrayLiteral()474 cloneObject->SetElements(thread_, newElements.GetTaggedValue()); in CloneArrayLiteral()480 object->SetElements(thread_, cloneObject->GetElements()); in CloneArrayLiteral()[all …]