Searched refs:generatorFunction (Results 1 - 5 of 5) sorted by relevance
/arkcompiler/runtime_core/disassembler/tests/js/ |
H A D | column-number6.js | 39 function* generatorFunction() {
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | object_factory.h | 275 JSHandle<JSGeneratorObject> NewJSGeneratorObject(JSHandle<JSTaggedValue> generatorFunction); 278 JSHandle<JSAsyncGeneratorObject> NewJSAsyncGeneratorObject(JSHandle<JSTaggedValue> generatorFunction);
|
H A D | object_factory.cpp | 2167 JSHandle<JSGeneratorObject> ObjectFactory::NewJSGeneratorObject(JSHandle<JSTaggedValue> generatorFunction) in NewJSGeneratorObject() argument 2169 JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHClass()); in NewJSGeneratorObject() 2171 JSHandle<GlobalEnv> realmHandle = JSObject::GetFunctionRealm(thread_, generatorFunction); in NewJSGeneratorObject() 2182 JSHandle<JSAsyncGeneratorObject> ObjectFactory::NewJSAsyncGeneratorObject(JSHandle<JSTaggedValue> generatorFunction) in NewJSAsyncGeneratorObject() argument 2184 JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHClass()); in NewJSAsyncGeneratorObject() 2186 JSHandle<GlobalEnv> realmHandle = JSObject::GetFunctionRealm(thread_, generatorFunction); in NewJSAsyncGeneratorObject()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | slow_runtime_stub.cpp | 417 JSHandle<JSTaggedValue> generatorFunction(thread, genFunc); in CreateGeneratorObj() 418 return RuntimeStubs::RuntimeCreateGeneratorObj(thread, generatorFunction); in CreateGeneratorObj()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins.cpp | 3010 JSHandle<JSFunction> generatorFunction = in InitializeGeneratorFunction() local 3013 JSObject::SetPrototype(thread_, JSHandle<JSObject>::Cast(generatorFunction), env->GetFunctionFunction()); in InitializeGeneratorFunction() 3015 PropertyDescriptor generatorDesc(thread_, JSHandle<JSTaggedValue>::Cast(generatorFunction), false, false, true); in InitializeGeneratorFunction() 3017 generatorFunction->SetProtoOrHClass(thread_, generatorFuncInstanceHClass.GetTaggedValue()); in InitializeGeneratorFunction() 3018 env->SetGeneratorFunctionFunction(thread_, generatorFunction); in InitializeGeneratorFunction()
|
Completed in 22 milliseconds