Home
last modified time | relevance | path

Searched refs:patchFile (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp61 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatchIfNeeded() local
63 if (patchFile == nullptr) { in LoadPatchIfNeeded()
72 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo, baseClassI… in LoadPatchIfNeeded()
98 std::shared_ptr<JSPandaFile> patchFile = in LoadPatch() local
100 if (patchFile == nullptr) { in LoadPatch()
109 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch()
137 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch() local
139 if (patchFile == nullptr) { in LoadPatch()
148 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch()
204 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in CheckAndGetPatch() local
[all …]
Dpatch_loader.cpp26 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()
[all …]
Dpatch_loader.h99 const JSPandaFile *patchFile, PatchInfo &patchInfo,
111 static PatchInfo GeneratePatchInfo(const JSPandaFile *patchFile);
115 const JSPandaFile *patchFile,
/arkcompiler/ets_runtime/ecmascript/debugger/
Dhot_reload_manager.cpp22 void HotReloadManager::NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile) in NotifyPatchLoaded() argument
28 baseJSPandaFiles_[patchFile] = baseFile; in NotifyPatchLoaded()
30 ExtractPatch(patchFile); in NotifyPatchLoaded()
34 void HotReloadManager::NotifyPatchUnloaded(const JSPandaFile *patchFile) in NotifyPatchUnloaded() argument
40 baseJSPandaFiles_.erase(patchFile); in NotifyPatchUnloaded()
Dhot_reload_manager.h31 void NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile);
32 void NotifyPatchUnloaded(const JSPandaFile *patchFile);
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Dhot_reload_manager_test.cpp81 auto patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchFileName.c_str()); in HWTEST_F_L0() local
82 EXPECT_TRUE(patchFile != nullptr); in HWTEST_F_L0()
83 EXPECT_TRUE(hotReloadManager->GetBaseJSPandaFile(patchFile.get()) == baseFile.get()); in HWTEST_F_L0()
94 EXPECT_TRUE(hotReloadManager->GetBaseJSPandaFile(patchFile.get()) != baseFile.get()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Dquick_fix_test.cpp150 …std::shared_ptr<JSPandaFile> patchFile = pfManager->NewJSPandaFile(patchPF.release(), CString(patc… in HWTEST_F_L0() local
152 pfManager->AddJSPandaFileVm(instance, patchFile); in HWTEST_F_L0()
159 pfManager->RemoveJSPandaFileVm(instance, patchFile.get()); in HWTEST_F_L0()
191 std::shared_ptr<JSPandaFile> patchFile = in HWTEST_F_L0() local
193 EXPECT_TRUE(patchFile == nullptr); in HWTEST_F_L0()