Searched refs:cloneObject (Results 1 – 1 of 1) sorted by relevance
455 JSHandle<JSObject> cloneObject = NewJSObject(klass); in CloneObjectLiteral() local459 cloneObject->SetElements(thread_, newElements.GetTaggedValue()); in CloneObjectLiteral()463 cloneObject->SetProperties(thread_, newProperties.GetTaggedValue()); in CloneObjectLiteral()467 cloneObject->SetPropertyInlinedPropsWithRep(thread_, i, object->GetPropertyInlinedProps(i)); in CloneObjectLiteral()469 return cloneObject; in CloneObjectLiteral()477 JSHandle<JSArray> cloneObject(NewJSObject(klass)); in CloneArrayLiteral() local478 cloneObject->SetArrayLength(thread_, object->GetArrayLength()); in CloneArrayLiteral()479 cloneObject->SetTrackInfo(thread_, JSTaggedValue::Undefined()); in CloneArrayLiteral()493 cloneObject->SetElements(thread_, elements.GetTaggedValue()); in CloneArrayLiteral()496 cloneObject->SetElements(thread_, newElements.GetTaggedValue()); in CloneArrayLiteral()[all …]