Home
last modified time | relevance | path

Searched refs:generatorFunction (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h258 JSHandle<JSGeneratorObject> NewJSGeneratorObject(JSHandle<JSTaggedValue> generatorFunction);
261 …andle<JSAsyncGeneratorObject> NewJSAsyncGeneratorObject(JSHandle<JSTaggedValue> generatorFunction);
Dobject_factory.cpp1737 …e<JSGeneratorObject> ObjectFactory::NewJSGeneratorObject(JSHandle<JSTaggedValue> generatorFunction) in NewJSGeneratorObject() argument
1739 …JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHC… in NewJSGeneratorObject()
1741 JSHandle<GlobalEnv> realmHandle = JSObject::GetFunctionRealm(thread_, generatorFunction); in NewJSGeneratorObject()
1752 …eneratorObject> ObjectFactory::NewJSAsyncGeneratorObject(JSHandle<JSTaggedValue> generatorFunction) in NewJSAsyncGeneratorObject() argument
1754 …JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHC… in NewJSAsyncGeneratorObject()
1756 JSHandle<GlobalEnv> realmHandle = JSObject::GetFunctionRealm(thread_, generatorFunction); in NewJSAsyncGeneratorObject()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp434 JSHandle<JSTaggedValue> generatorFunction(thread, genFunc); in CreateGeneratorObj() local
435 return RuntimeStubs::RuntimeCreateGeneratorObj(thread, generatorFunction); in CreateGeneratorObj()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp3142 JSHandle<JSFunction> generatorFunction = in InitializeGeneratorFunction() local
3146 …PropertyDescriptor generatorDesc(thread_, JSHandle<JSTaggedValue>::Cast(generatorFunction), false,… in InitializeGeneratorFunction()
3148 generatorFunction->SetProtoOrHClass(thread_, generatorFuncInstanceHClass.GetTaggedValue()); in InitializeGeneratorFunction()
3149 env->SetGeneratorFunctionFunction(thread_, generatorFunction); in InitializeGeneratorFunction()