Lines Matching defs:method
325 Method *method = callTarget->GetCallTarget();
326 return method;
341 bool Deoptimizier::CollectVirtualRegisters(JSTaggedValue callTarget, Method *method, FrameWriter *frameWriter,
349 declaredNumArgs = static_cast<int32_t>(method->GetNumArgsWithCallField());
351 // inline method actualNumArgs equal to declaredNumArgs
352 actualNumArgs = static_cast<int32_t>(method->GetNumArgsWithCallField());
353 declaredNumArgs = static_cast<int32_t>(method->GetNumArgsWithCallField());
356 int32_t callFieldNumVregs = static_cast<int32_t>(method->GetNumVregsWithCallField());
368 static_cast<int32_t>(method->GetNumRevervedArgs()) - 1;
383 if (method->HaveThisWithCallField()) {
389 if (method->HaveNewTargetWithCallField()) {
395 if (method->HaveFuncWithCallField()) {
423 static_cast<int32_t>(method->GetNumRevervedArgs());
504 auto method = GetMethod(callTarget);
505 if (!CollectVirtualRegisters(callTarget, method, &frameWriter, curDepth)) {
509 const uint8_t *resumePc = method->GetBytecodeArray() + pc_.at(curDepth);
556 Method *method = Method::Cast(jsFunc->GetMethod().GetTaggedObject());
557 LOG_JIT(DEBUG) << "reset jit hotness for func: " << method->GetMethodName() << ", threshold:" << threshold;
562 void Deoptimizier::ClearCompiledCodeStatusWhenDeopt(JSFunction *func, Method *method)
573 method->ClearAOTStatusWhenDeopt(entry);
577 } // Do not change the func code entry if the method is not aot or deopt has happened already
593 auto method = GetMethod(callTarget);
598 uint8_t deoptThreshold = method->GetDeoptThreshold();
600 method->SetDeoptType(type);
601 method->SetDeoptThreshold(--deoptThreshold);
603 ClearCompiledCodeStatusWhenDeopt(func, method);