Home
last modified time | relevance | path

Searched refs:funcTemp (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/patch/
H A Dpatch_loader.cpp268 auto funcTemp = FunctionTemplate::Cast(obj); in UpdateJSFunction()
269 EntityId methodId = Method::Cast(funcTemp->GetMethod())->GetMethodId(); in UpdateJSFunction()
270 const JSPandaFile *jsPandaFile = Method::Cast(funcTemp->GetMethod())->GetJSPandaFile(); in UpdateJSFunction()
279 funcTemp->SetModule(thread, moduleRecord.GetTaggedValue()); in UpdateJSFunction()
280 funcTemp->SetRawProfileTypeInfo(thread, thread->GlobalConstants()->GetEmptyProfileTypeInfoCell(), in UpdateJSFunction()
306 auto funcTemp = FunctionTemplate::Cast(obj); in UpdateModuleForColdPatch()
307 EntityId methodIdLoop = Method::Cast(funcTemp->GetMethod())->GetMethodId(); in UpdateModuleForColdPatch()
312 funcTemp->SetModule(thread, moduleRecord.GetTaggedValue()); in UpdateModuleForColdPatch()
314 funcTemp->SetModule(thread, JSTaggedValue::Undefined()); in UpdateModuleForColdPatch()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dliteral_data_extractor.cpp277 JSHandle<FunctionTemplate> funcTemp; in DefineFunctionTemplate() local
279 funcTemp = factory->NewSFunctionTemplate(method, module, length); in DefineFunctionTemplate()
281 funcTemp = factory->NewFunctionTemplate(method, module, length); in DefineFunctionTemplate()
283 return funcTemp; in DefineFunctionTemplate()
617 JSHandle<FunctionTemplate> funcTemp = DefineFunctionTemplate(thread, jsPandaFile, methodId, in GetDatasIgnoreType()
619 jt = funcTemp.GetTaggedValue(); in GetDatasIgnoreType()
H A Dclass_info_extractor.h132 const JSHandle<FunctionTemplate> &funcTemp,
195 const JSHandle<FunctionTemplate> &funcTemp,
H A Dclass_info_extractor.cpp585 const JSHandle<FunctionTemplate> &funcTemp, in CreateJSFunctionFromTemplate()
590 JSHandle<JSFunction> propFunc = factory->CreateJSFunctionFromTemplate(funcTemp); in CreateJSFunctionFromTemplate()
591 JSFunction::UpdateProfileTypeInfoCell(thread, funcTemp, propFunc); in CreateJSFunctionFromTemplate()
917 const JSHandle<FunctionTemplate> &funcTemp, in CreateSFunctionFromTemplate()
922 JSHandle<JSFunction> propFunc = factory->CreateSFunctionFromTemplate(funcTemp); in CreateSFunctionFromTemplate()
1116 auto funcTemp = JSHandle<FunctionTemplate>(thread, getter); in UpdateAccessorFunction() local
1118 thread, funcTemp, JSHandle<JSObject>(homeObject), JSHandle<JSTaggedValue>(ctor)); in UpdateAccessorFunction()
1123 auto funcTemp = JSHandle<FunctionTemplate>(thread, setter); in UpdateAccessorFunction() local
1125 thread, funcTemp, JSHandle<JSObject>(homeObject), JSHandle<JSTaggedValue>(ctor)); in UpdateAccessorFunction()
584 CreateJSFunctionFromTemplate(JSThread *thread, const JSHandle<FunctionTemplate> &funcTemp, const JSHandle<JSObject> &homeObject, const JSHandle<JSTaggedValue> &lexenv) CreateJSFunctionFromTemplate() argument
916 CreateSFunctionFromTemplate(JSThread *thread, const JSHandle<FunctionTemplate> &funcTemp, const JSHandle<JSObject> &homeObject, const JSHandle<JSTaggedValue> &lexenv) CreateSFunctionFromTemplate() argument
/arkcompiler/ets_runtime/ecmascript/
H A Dobject_factory.cpp694 JSHandle<JSFunction> ObjectFactory::CreateJSFunctionFromTemplate(JSHandle<FunctionTemplate> funcTemp) in CreateJSFunctionFromTemplate() argument
698 auto kind = funcTemp->GetFunctionKind(); in CreateJSFunctionFromTemplate()
709 JSHandle<Method> method = JSHandle<Method>(thread_, funcTemp->GetMethod()); in CreateJSFunctionFromTemplate()
712 newFunc->SetLength(funcTemp->GetLength()); in CreateJSFunctionFromTemplate()
713 newFunc->SetModule(thread_, funcTemp->GetModule()); in CreateJSFunctionFromTemplate()
717 JSHandle<JSFunction> ObjectFactory::CreateSFunctionFromTemplate(JSHandle<FunctionTemplate> funcTemp) in CreateSFunctionFromTemplate() argument
721 auto kind = funcTemp->GetFunctionKind(); in CreateSFunctionFromTemplate()
732 JSHandle<Method> method(thread_, funcTemp->GetMethod()); in CreateSFunctionFromTemplate()
735 newFunc->SetLength(funcTemp->GetLength()); in CreateSFunctionFromTemplate()
736 newFunc->SetModule(thread_, funcTemp in CreateSFunctionFromTemplate()
[all...]
H A Dobject_factory.h501 JSHandle<JSFunction> CreateJSFunctionFromTemplate(JSHandle<FunctionTemplate> funcTemp);
502 JSHandle<JSFunction> CreateSFunctionFromTemplate(JSHandle<FunctionTemplate> funcTemp);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Ddump_test.cpp989 JSHandle<FunctionTemplate> funcTemp = factory->NewFunctionTemplate(methodHandle, handleUndefined, 0); in HWTEST_F_L0() local
990 DUMP_FOR_HANDLE(funcTemp); in HWTEST_F_L0()

Completed in 16 milliseconds