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()->LoadJSPandaFileSecure( in LoadPatchIfNeeded() local
63 if (patchFile == nullptr) { in LoadPatchIfNeeded()
73 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo, baseClassI… in LoadPatchIfNeeded()
99 std::shared_ptr<JSPandaFile> patchFile = in LoadPatch() local
101 if (patchFile == nullptr) { in LoadPatch()
111 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch()
139 … std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFileSecure( in LoadPatch() local
141 if (patchFile == nullptr) { in LoadPatch()
151 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch()
211 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in CheckAndGetPatch() local
[all …]
Dpatch_loader.cpp21 const JSPandaFile *patchFile, PatchInfo &patchInfo, in LoadPatchInternal() argument
28 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal()
34 patchInfo = PatchLoader::GeneratePatchInfo(patchFile); in LoadPatchInternal()
38 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()
123 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in UnloadPatchInternal() local
124 if (patchFile == nullptr) { in UnloadPatchInternal()
[all …]
Dpatch_loader.h107 const JSPandaFile *patchFile, PatchInfo &patchInfo,
122 static PatchInfo GeneratePatchInfo(const JSPandaFile *patchFile);
126 const JSPandaFile *patchFile,
141 … const JSPandaFile *patchFile, JSTaggedValue constpoolValue,
/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.cpp153 …std::shared_ptr<JSPandaFile> patchFile = pfManager->NewJSPandaFile(patchPF.release(), CString(patc… in HWTEST_F_L0() local
155 pfManager->AddJSPandaFile(patchFile); in HWTEST_F_L0()
162 pfManager->RemoveJSPandaFile(patchFile.get()); in HWTEST_F_L0()
175 std::shared_ptr<JSPandaFile> patchFile = in HWTEST_F_L0() local
177 EXPECT_TRUE(patchFile != nullptr); in HWTEST_F_L0()
189 … JSPandaFileManager::GetInstance()->GenerateProgram(instance, patchFile.get(), replacedRecordName); in HWTEST_F_L0()
230 std::shared_ptr<JSPandaFile> patchFile = in HWTEST_F_L0() local
232 EXPECT_TRUE(patchFile == nullptr); in HWTEST_F_L0()