Lines Matching refs:patchFile
22 const JSPandaFile *patchFile, PatchInfo &patchInfo, in LoadPatchInternal() argument
29 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal()
34 patchInfo = PatchLoader::GeneratePatchInfo(patchFile); in LoadPatchInternal()
37 … vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal()
56 thread->GetCurrentEcmaContext()->CreateAllConstpool(patchFile); in LoadPatchInternal()
57 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo, baseClassInfo); in LoadPatchInternal()
62 ExecuteFuncOrPatchMain(thread, patchFile, patchInfo); in LoadPatchInternal()
65 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal()
124 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in UnloadPatchInternal() local
125 if (patchFile == nullptr) { in UnloadPatchInternal()
169 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchUnloaded(patchFile.get()); in UnloadPatchInternal()
221 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in ClearPatchInfo() local
222 if (patchFile != nullptr) { in ClearPatchInfo()
323 const JSPandaFile *patchFile, PatchInfo &patchInfo, in FindAndReplaceSameMethod() argument
355 CString patchFileName = patchFile->GetJSPandaFileDesc(); in FindAndReplaceSameMethod()
357 … JSTaggedValue patchConstpoolValue = context->FindConstpool(patchFile, patchMethodId); in FindAndReplaceSameMethod()
368 FindAndReplaceClassLiteral(thread, baseFile, patchFile, constpoolValue, patchInfo, in FindAndReplaceSameMethod()
382 FindAndReplaceClassLiteral(thread, baseFile, patchFile, constpoolValue, patchInfo, in FindAndReplaceSameMethod()
389 … const JSPandaFile *patchFile, JSTaggedValue constpoolValue, in FindAndReplaceClassLiteral() argument
414 CString patchFileName = patchFile->GetJSPandaFileDesc(); in FindAndReplaceClassLiteral()
418 …lue patchConstpoolValue = thread->GetCurrentEcmaContext()->FindConstpool(patchFile, patchMethodId); in FindAndReplaceClassLiteral()
466 PatchInfo PatchLoader::GeneratePatchInfo(const JSPandaFile *patchFile) in GeneratePatchInfo() argument
468 CMap<uint32_t, CString> patchClassInfo = CollectClassInfo(patchFile); in GeneratePatchInfo()
470 const auto &map = patchFile->GetMethodLiteralMap(); in GeneratePatchInfo()
481 CString methodName = GetRealName(patchFile, methodId, className); in GeneratePatchInfo()
488 CString recordName = MethodLiteral::GetRecordName(patchFile, methodId); in GeneratePatchInfo()
499 patchInfo.patchFileName = patchFile->GetJSPandaFileDesc(); in GeneratePatchInfo()