Lines Matching refs:funcTemp
694 JSHandle<JSFunction> ObjectFactory::CreateJSFunctionFromTemplate(JSHandle<FunctionTemplate> funcTemp)
698 auto kind = funcTemp->GetFunctionKind();
709 JSHandle<Method> method = JSHandle<Method>(thread_, funcTemp->GetMethod());
712 newFunc->SetLength(funcTemp->GetLength());
713 newFunc->SetModule(thread_, funcTemp->GetModule());
717 JSHandle<JSFunction> ObjectFactory::CreateSFunctionFromTemplate(JSHandle<FunctionTemplate> funcTemp)
721 auto kind = funcTemp->GetFunctionKind();
732 JSHandle<Method> method(thread_, funcTemp->GetMethod());
735 newFunc->SetLength(funcTemp->GetLength());
736 newFunc->SetModule(thread_, funcTemp->GetModule());
4933 JSHandle<FunctionTemplate> funcTemp(thread_, header);
4934 funcTemp->SetMethod(thread_, method);
4935 funcTemp->SetModule(thread_, module);
4936 funcTemp->SetRawProfileTypeInfo(thread_, globalConstants->GetEmptyProfileTypeInfoCell(), SKIP_BARRIER);
4937 funcTemp->SetLength(length);
4938 return funcTemp;