Home
last modified time | relevance | path

Searched refs:mainFunc (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/
H A Dpending_exception_test.cpp56 const std::string mainFunc = "ETSGLOBAL::main"; in DEATH_TEST_P() local
58 EXPECT_EXIT(Runtime::GetCurrent()->ExecutePandaFile(fileName.c_str(), mainFunc.c_str(), {}), in DEATH_TEST_P()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
H A Dcoroswitch_in_cctor.cpp60 const std::string mainFunc = "ETSGLOBAL::main"; in TEST_F() local
61 EXPECT_EXIT(Runtime::GetCurrent()->ExecutePandaFile(abcFile_.c_str(), mainFunc.c_str(), {}), in TEST_F()
H A Djs_mode_launch.cpp73 const std::string mainFunc = "ETSGLOBAL::main"; in TEST_F() local
74 auto res = Runtime::GetCurrent()->ExecutePandaFile(abcFile_.c_str(), mainFunc.c_str(), {}); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_function.cpp505 JSTaggedValue JSFunction::InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc, in InvokeOptimizedEntrypoint() argument
509 if (mainFunc->IsClassConstructor()) { in InvokeOptimizedEntrypoint()
518 Method *method = mainFunc->GetCallTarget(); in InvokeOptimizedEntrypoint()
524 RuntimeStubs::StartCallTimer(thread->GetGlueAddr(), mainFunc.GetTaggedType(), true); in InvokeOptimizedEntrypoint()
526 if (mainFunc->IsCompiledFastCall()) { in InvokeOptimizedEntrypoint()
528 args = JSFunction::GetArgsData(true, thisArg, mainFunc, cjsInfo); in InvokeOptimizedEntrypoint()
531 args = JSFunction::GetArgsData(false, thisArg, mainFunc, cjsInfo); in InvokeOptimizedEntrypoint()
536 RuntimeStubs::EndCallTimer(thread->GetGlueAddr(), mainFunc.GetTaggedType()); in InvokeOptimizedEntrypoint()
545 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo) in GetArgsData()
549 Method *method = mainFunc in GetArgsData()
544 GetArgsData(bool isFastCall, JSHandle<JSTaggedValue> &thisArg, JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo) GetArgsData() argument
[all...]
H A Djs_function.h178 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc,
370 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
H A Decma_context.cpp277 JSTaggedValue EcmaContext::InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTaggedValue> &thisArg, in InvokeEcmaAotEntrypoint() argument
281 aotFileManager_->SetAOTMainFuncEntry(mainFunc, jsPandaFile, entryPoint); in InvokeEcmaAotEntrypoint()
282 return JSFunction::InvokeOptimizedEntrypoint(thread_, mainFunc, thisArg, cjsInfo); in InvokeEcmaAotEntrypoint()
H A Decma_context.h642 JSTaggedValue InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTaggedValue> &thisArg,
/arkcompiler/runtime_core/static_core/disassembler/tests/
H A Dinstructions_test.cpp296 auto mainFunc = prog->functionTable.find("main:()"); in TEST() local
297 mainFunc->second.regsNum = 0; in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.h179 void SetAOTMainFuncEntry(JSHandle<JSFunction> mainFunc,
H A Daot_file_manager.cpp344 void AOTFileManager::SetAOTMainFuncEntry(JSHandle<JSFunction> mainFunc, const JSPandaFile *jsPandaFile, in SetAOTMainFuncEntry() argument
374 Method *method = mainFunc->GetCallTarget(); in SetAOTMainFuncEntry()
379 mainFunc->SetCompiledFuncEntry(static_cast<uintptr_t>(mainEntry), isFastCall); in SetAOTMainFuncEntry()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
H A Djs_pandafile_manager_test.cpp291 JSHandle<JSFunction> mainFunc(thread, program->GetMainFunction()); in HWTEST_F_L0()
292 JSHandle<JSTaggedValue> funcName = JSFunction::GetFunctionName(thread, JSHandle<JSFunctionBase>(mainFunc)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dpanda_file_translator.cpp196 JSHandle<JSFunction> mainFunc = factory->NewJSFunctionByHClass(method, hclass); in GenerateProgramInternal() local
199 SlowRuntimeStub::NotifyInlineCache(thread, mainFunc.GetObject<JSFunction>()); in GenerateProgramInternal()
201 program->SetMainFunction(thread, mainFunc.GetTaggedValue()); in GenerateProgramInternal()

Completed in 14 milliseconds