Lines Matching refs:patchFile
26 const JSPandaFile *patchFile, PatchInfo &patchInfo, in LoadPatchInternal() argument
33 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal()
39 patchInfo = PatchLoader::GeneratePatchInfo(patchFile); in LoadPatchInternal()
60 thread->GetCurrentEcmaContext()->CreateAllConstpool(patchFile); in LoadPatchInternal()
61 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo, baseClassInfo); in LoadPatchInternal()
66 ExecuteFuncOrPatchMain(thread, patchFile, patchInfo); in LoadPatchInternal()
69 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal()
148 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in UnloadPatchInternal() local
149 if (patchFile == nullptr) { in UnloadPatchInternal()
189 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchUnloaded(patchFile.get()); in UnloadPatchInternal()
232 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in ClearPatchInfo() local
233 if (patchFile != nullptr) { in ClearPatchInfo()
257 const JSPandaFile *patchFile, PatchInfo &patchInfo, in FindAndReplaceSameMethod() argument
286 JSTaggedValue patchConstpoolValue = context->FindConstpool(patchFile, in FindAndReplaceSameMethod()
313 JSTaggedValue patchConstpoolValue = context->FindConstpool(patchFile, in FindAndReplaceSameMethod()
357 PatchInfo PatchLoader::GeneratePatchInfo(const JSPandaFile *patchFile) in GeneratePatchInfo() argument
359 CMap<uint32_t, CString> patchClassInfo = CollectClassInfo(patchFile); in GeneratePatchInfo()
361 const auto &map = patchFile->GetMethodLiteralMap(); in GeneratePatchInfo()
372 CString methodName = GetRealName(patchFile, methodId, className); in GeneratePatchInfo()
379 CString recordName = MethodLiteral::GetRecordName(patchFile, methodId); in GeneratePatchInfo()
390 patchInfo.patchFileName = patchFile->GetJSPandaFileDesc(); in GeneratePatchInfo()