Searched refs:initialGeneratorFuncPrototype (Results 1 – 3 of 3) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_function.cpp | 47 … JSHandle<JSObject> initialGeneratorFuncPrototype = factory->NewJSObjectByConstructor(objFun); in InitializeJSFunction() local 48 … JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetAsyncGeneratorPrototype()); in InitializeJSFunction() 49 func->SetProtoOrHClass(thread, initialGeneratorFuncPrototype); in InitializeJSFunction() 56 … JSHandle<JSObject> initialGeneratorFuncPrototype = factory->NewJSObjectByConstructor(objFun); in InitializeJSFunction() local 57 … JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetGeneratorPrototype()); in InitializeJSFunction() 58 func->SetProtoOrHClass(thread, initialGeneratorFuncPrototype); in InitializeJSFunction()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.cpp | 99 JSHandle<JSObject> initialGeneratorFuncPrototype = factory->NewJSObjectByConstructor(objFun); in DEF_RUNTIME_STUBS() local 101 … JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetAsyncGeneratorPrototype()); in DEF_RUNTIME_STUBS() 103 JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetGeneratorPrototype()); in DEF_RUNTIME_STUBS() 105 return initialGeneratorFuncPrototype.GetTaggedType(); in DEF_RUNTIME_STUBS()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins.cpp | 3112 JSHandle<JSObject> initialGeneratorFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeGenerator() local 3113 …JSObject::SetPrototype(thread_, initialGeneratorFuncPrototype, JSHandle<JSTaggedValue>(generatorPr… in InitializeGenerator() 3114 env->SetInitialGenerator(thread_, initialGeneratorFuncPrototype); in InitializeGenerator()
|