Searched refs:generatorFunction (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | object_factory.h | 258 JSHandle<JSGeneratorObject> NewJSGeneratorObject(JSHandle<JSTaggedValue> generatorFunction); 261 …andle<JSAsyncGeneratorObject> NewJSAsyncGeneratorObject(JSHandle<JSTaggedValue> generatorFunction);
|
D | object_factory.cpp | 1737 …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/ |
D | slow_runtime_stub.cpp | 434 JSHandle<JSTaggedValue> generatorFunction(thread, genFunc); in CreateGeneratorObj() local 435 return RuntimeStubs::RuntimeCreateGeneratorObj(thread, generatorFunction); in CreateGeneratorObj()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 3142 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()
|