/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/ |
H A D | pending_exception_test.cpp | 56 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 D | coroswitch_in_cctor.cpp | 60 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 D | js_mode_launch.cpp | 73 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 D | js_function.cpp | 505 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 D | js_function.h | 178 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc, 370 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
|
H A D | ecma_context.cpp | 277 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 D | ecma_context.h | 642 JSTaggedValue InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTaggedValue> &thisArg,
|
/arkcompiler/runtime_core/static_core/disassembler/tests/ |
H A D | instructions_test.cpp | 296 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 D | aot_file_manager.h | 179 void SetAOTMainFuncEntry(JSHandle<JSFunction> mainFunc,
|
H A D | aot_file_manager.cpp | 344 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 D | js_pandafile_manager_test.cpp | 291 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 D | panda_file_translator.cpp | 196 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()
|