Lines Matching defs:patchFile
21 const JSPandaFile *patchFile, PatchInfo &patchInfo,
28 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) {
34 patchInfo = PatchLoader::GeneratePatchInfo(patchFile);
38 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile);
56 thread->GetCurrentEcmaContext()->CreateAllConstpool(patchFile);
57 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo, baseClassInfo);
62 ExecuteFuncOrPatchMain(thread, patchFile, patchInfo);
65 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile);
123 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName);
124 if (patchFile == nullptr) {
168 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchUnloaded(patchFile.get());
220 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName);
221 if (patchFile != nullptr) {
322 const JSPandaFile *patchFile, PatchInfo &patchInfo,
353 // and the JSPandaFile of replaced method is patchFile
354 CString patchFileName = patchFile->GetJSPandaFileDesc();
356 JSTaggedValue patchConstpoolValue = context->FindConstpool(patchFile, patchMethodId);
367 FindAndReplaceClassLiteral(thread, baseFile, patchFile, constpoolValue, patchInfo,
381 FindAndReplaceClassLiteral(thread, baseFile, patchFile, constpoolValue, patchInfo,
388 const JSPandaFile *patchFile, JSTaggedValue constpoolValue,
413 CString patchFileName = patchFile->GetJSPandaFileDesc();
415 // and the JSPandaFile of replaced method is patchFile
417 JSTaggedValue patchConstpoolValue = thread->GetCurrentEcmaContext()->FindConstpool(patchFile, patchMethodId);
465 PatchInfo PatchLoader::GeneratePatchInfo(const JSPandaFile *patchFile)
467 CMap<uint32_t, CString> patchClassInfo = CollectClassInfo(patchFile);
469 const auto &map = patchFile->GetMethodLiteralMap();
480 CString methodName = GetRealName(patchFile, methodId, className);
486 // if patchFile only include varibales, add recordName specially.
487 CString recordName = MethodLiteral::GetRecordName(patchFile, methodId);
498 patchInfo.patchFileName = patchFile->GetJSPandaFileDesc();