Lines Matching defs:methodLiteral
255 auto methodLiteral = jsPandaFile->FindMethodLiteral(offset);
256 CHECK_INPUT_NULLPTR(methodLiteral,
257 "DefineFunctionTemplate:methodLiteral is nullptr, offset: " + std::to_string(offset));
258 FunctionKind literalKind = methodLiteral->GetFunctionKind();
260 methodLiteral->SetFunctionKind(kind);
264 JSHandle<Method> method = factory->NewSMethod(jsPandaFile, methodLiteral, constpool, entryIndex, isLoadedAOT);
332 auto methodLiteral = jsPandaFile->FindMethodLiteral(offset);
333 CHECK_INPUT_NULLPTR(methodLiteral,
334 "DefineMethodInLiteral:methodLiteral is nullptr, offset: " + std::to_string(offset));
335 FunctionKind literalKind = methodLiteral->GetFunctionKind();
337 methodLiteral->SetFunctionKind(kind);
343 factory->NewSMethod(jsPandaFile, methodLiteral, constpool, entryIndex, isLoadedAOT, &canFastCall);