Lines Matching refs:jshclass
421 JSHandle<JSObject> ObjectFactory::NewJSObject(const JSHandle<JSHClass> &jshclass) in NewJSObject() argument
423 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewObject(jshclass))); in NewJSObject()
602 JSHandle<JSHClass> jshclass(thread_, func->GetJSHClass()); in CloneJSFuction() local
604 JSHandle<JSFunction> cloneFunc = NewJSFunctionByHClass(method, jshclass); in CloneJSFuction()
614 JSHandle<JSHClass> jshclass(thread_, func->GetJSHClass()); in CloneSFunction() local
616 JSHandle<JSFunction> cloneFunc = NewSFunctionByHClass(method, jshclass); in CloneSFunction()
666 JSHandle<JSObject> ObjectFactory::NewNonMovableJSObject(const JSHandle<JSHClass> &jshclass) in NewNonMovableJSObject() argument
669 … JSObject::Cast(NewNonMovableObject(jshclass, jshclass->GetInlinedProperties()))); in NewNonMovableJSObject()
949 JSHandle<JSHClass> jshclass; in NewJSObjectByConstructor() local
951 …jshclass = JSHandle<JSHClass>(thread_, JSFunction::GetOrCreateInitialJSHClass(thread_, constructor… in NewJSObjectByConstructor()
953 jshclass = NewEcmaHClass(JSObject::SIZE, inlinedProps, JSType::JS_OBJECT, in NewJSObjectByConstructor()
956 JSHandle<JSObject> obj = NewJSObjectWithInit(jshclass); in NewJSObjectByConstructor()
957 if (jshclass->IsJSSharedObject() && jshclass->IsDictionaryMode()) { in NewJSObjectByConstructor()
958 auto maybeDict = jshclass->GetLayout(); in NewJSObjectByConstructor()
978 JSHandle<JSHClass> jshclass; in NewJSObjectByConstructor() local
981 jshclass = JSFunction::GetInstanceJSHClass(thread_, constructor, newTarget); in NewJSObjectByConstructor()
984 …jshclass = JSFunction::GetInstanceJSHClass(thread_, JSHandle<JSFunction>(env->GetObjectFunction())… in NewJSObjectByConstructor()
988 JSHandle<JSObject> obj = NewJSObjectWithInit(jshclass); in NewJSObjectByConstructor()
989 if (jshclass->IsJSSharedObject() && jshclass->IsDictionaryMode()) { in NewJSObjectByConstructor()
990 auto maybeDict = jshclass->GetLayout(); in NewJSObjectByConstructor()
1000 JSHandle<JSObject> ObjectFactory::NewJSObjectWithInit(const JSHandle<JSHClass> &jshclass) in NewJSObjectWithInit() argument
1002 JSHandle<JSObject> obj = NewJSObject(jshclass); in NewJSObjectWithInit()
1003 InitializeJSObject(obj, jshclass); in NewJSObjectWithInit()
1007 …bjectFactory::InitializeJSObject(const JSHandle<JSObject> &obj, const JSHandle<JSHClass> &jshclass) in InitializeJSObject() argument
1009 JSType type = jshclass->GetObjectType(); in InitializeJSObject()
4524 JSHandle<JSObject> ObjectFactory::NewOldSpaceJSObject(const JSHandle<JSHClass> &jshclass) in NewOldSpaceJSObject() argument
4526 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewOldSpaceObject(jshclass))); in NewOldSpaceJSObject()