Lines Matching defs:mainFunc
505 JSTaggedValue JSFunction::InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc,
509 if (mainFunc->IsClassConstructor()) {
518 Method *method = mainFunc->GetCallTarget();
524 RuntimeStubs::StartCallTimer(thread->GetGlueAddr(), mainFunc.GetTaggedType(), true);
526 if (mainFunc->IsCompiledFastCall()) {
528 args = JSFunction::GetArgsData(true, thisArg, mainFunc, cjsInfo);
531 args = JSFunction::GetArgsData(false, thisArg, mainFunc, cjsInfo);
536 RuntimeStubs::EndCallTimer(thread->GetGlueAddr(), mainFunc.GetTaggedType());
545 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo)
549 Method *method = mainFunc->GetCallTarget();
559 args[0] = mainFunc.GetTaggedValue().GetRawData();