Home
last modified time | relevance | path

Searched refs:patchInfo (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.cpp26 const JSPandaFile *patchFile, PatchInfo &patchInfo, in LoadPatchInternal() argument
39 patchInfo = PatchLoader::GeneratePatchInfo(patchFile); in LoadPatchInternal()
55 patchInfo.baseConstpools.emplace_back(constpoolHandle); in LoadPatchInternal()
61 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo, baseClassInfo); in LoadPatchInternal()
66 ExecuteFuncOrPatchMain(thread, patchFile, patchInfo); in LoadPatchInternal()
67 ReplaceModuleOfMethod(thread, baseFile, patchInfo); in LoadPatchInternal()
74 JSThread *thread, const JSPandaFile *jsPandaFile, const PatchInfo &patchInfo, bool loadPatch) in ExecuteFuncOrPatchMain() argument
80 const auto &replacedRecordNames = patchInfo.replacedRecordNames; in ExecuteFuncOrPatchMain()
114 …hLoader::ReplaceModuleOfMethod(JSThread *thread, const JSPandaFile *baseFile, PatchInfo &patchInfo) in ReplaceModuleOfMethod() argument
123 const auto &baseMethodInfo = patchInfo.baseMethodInfo; in ReplaceModuleOfMethod()
[all …]
Dquick_fix_manager.cpp68 PatchInfo patchInfo; in LoadPatchIfNeeded() local
72 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo, baseClassI… in LoadPatchIfNeeded()
78 methodInfos_.emplace(baseFileName, patchInfo); in LoadPatchIfNeeded()
105 PatchInfo patchInfo; in LoadPatch() local
109 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch()
115 methodInfos_.emplace(baseFileName.c_str(), patchInfo); in LoadPatch()
144 PatchInfo patchInfo; in LoadPatch() local
148 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch()
154 methodInfos_.emplace(baseFileName.c_str(), patchInfo); in LoadPatch()
173 PatchInfo &patchInfo = methodInfos_.find(baseFileName)->second; in UnloadPatch() local
[all …]
Dpatch_loader.h99 const JSPandaFile *patchFile, PatchInfo &patchInfo,
102 const CString &baseFileName, PatchInfo &patchInfo);
104 static MethodLiteral *FindSameMethod(PatchInfo &patchInfo, const JSPandaFile *baseFile,
107 …JSThread *thread, const JSPandaFile *jsPandaFile, const PatchInfo &patchInfo, bool loadPatch = tru…
116 PatchInfo &patchInfo,
118 static void SaveBaseMethodInfo(PatchInfo &patchInfo, const JSPandaFile *baseFile,
127 …ic void ReplaceModuleOfMethod(JSThread *thread, const JSPandaFile *baseFile, PatchInfo &patchInfo);