Searched refs:patchFile (Results 1 – 7 of 7) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/patch/ |
| D | patch_loader.cpp | 25 const JSPandaFile *patchFile, PatchInfo &patchInfo) in LoadPatchInternal() argument 31 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal() 37 patchInfo = PatchLoader::GeneratePatchInfo(patchFile); in LoadPatchInternal() 59 thread->GetCurrentEcmaContext()->CreateAllConstpool(patchFile); in LoadPatchInternal() 60 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo); in LoadPatchInternal() 62 if (!ExecutePatchMain(thread, patchFile, baseFile, patchInfo)) { in LoadPatchInternal() 67 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal() 71 bool PatchLoader::ExecutePatchMain(JSThread *thread, const JSPandaFile *patchFile, in ExecutePatchMain() argument 76 const auto &recordInfos = patchFile->GetJSRecordInfo(); in ExecutePatchMain() 78 bool isNewVersion = patchFile->IsNewVersion(); in ExecutePatchMain() [all …]
|
| D | quick_fix_manager.cpp | 57 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatchIfNeeded() local 59 if (patchFile == nullptr) { in LoadPatchIfNeeded() 65 auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo); in LoadPatchIfNeeded() 91 std::shared_ptr<JSPandaFile> patchFile = in LoadPatch() local 93 if (patchFile == nullptr) { in LoadPatch() 99 auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo); in LoadPatch() 127 std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch() local 129 if (patchFile == nullptr) { in LoadPatch() 135 auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo); in LoadPatch() 191 …std::shared_ptr<JSPandaFile> patchFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(patchF… in CheckAndGetPatch() local [all …]
|
| D | patch_loader.h | 66 const JSPandaFile *patchFile, PatchInfo &patchInfo); 73 static PatchInfo GeneratePatchInfo(const JSPandaFile *patchFile); 76 const JSPandaFile *patchFile, 85 …static bool ExecutePatchMain(JSThread *thread, const JSPandaFile *patchFile, const JSPandaFile *ba…
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | hot_reload_manager.cpp | 22 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()
|
| D | hot_reload_manager.h | 31 void NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile); 32 void NotifyPatchUnloaded(const JSPandaFile *patchFile);
|
| /arkcompiler/ets_runtime/ecmascript/debugger/tests/ |
| D | hot_reload_manager_test.cpp | 81 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/ |
| D | quick_fix_test.cpp | 150 …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()
|