Searched refs:initialGeneratorFuncPrototype (Results 1 – 3 of 3) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_function.cpp | 59 … JSHandle<JSObject> initialGeneratorFuncPrototype = factory->NewJSObjectByConstructor(objFun); in InitializeJSFunction() local 60 … JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetAsyncGeneratorPrototype()); in InitializeJSFunction() 61 func->SetProtoOrHClass(thread, initialGeneratorFuncPrototype); in InitializeJSFunction() 68 … JSHandle<JSObject> initialGeneratorFuncPrototype = factory->NewJSObjectByConstructor(objFun); in InitializeJSFunction() local 69 … JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetGeneratorPrototype()); in InitializeJSFunction() 70 func->SetProtoOrHClass(thread, initialGeneratorFuncPrototype); in InitializeJSFunction()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.cpp | 127 JSHandle<JSObject> initialGeneratorFuncPrototype = factory->NewJSObjectByConstructor(objFun); in DEF_RUNTIME_STUBS() local 129 … JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetAsyncGeneratorPrototype()); in DEF_RUNTIME_STUBS() 131 JSObject::SetPrototype(thread, initialGeneratorFuncPrototype, env->GetGeneratorPrototype()); in DEF_RUNTIME_STUBS() 133 return initialGeneratorFuncPrototype.GetTaggedType(); in DEF_RUNTIME_STUBS()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins.cpp | 3025 JSHandle<JSObject> initialGeneratorFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeGenerator() local 3026 …JSObject::SetPrototype(thread_, initialGeneratorFuncPrototype, JSHandle<JSTaggedValue>(generatorPr… in InitializeGenerator() 3027 env->SetInitialGenerator(thread_, initialGeneratorFuncPrototype); in InitializeGenerator()
|