Searched refs:baseFile (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/patch/ |
D | patch_loader.cpp | 24 PatchErrorCode PatchLoader::LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, in LoadPatchInternal() argument 31 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal() 39 if (!thread->GetCurrentEcmaContext()->HasCachedConstpool(baseFile)) { in LoadPatchInternal() 47 uint32_t num = baseFile->GetConstpoolNum(); in LoadPatchInternal() 50 JSTaggedValue constpool = thread->GetCurrentEcmaContext()->FindConstpool(baseFile, idx); 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() 72 const JSPandaFile *baseFile, PatchInfo &patchInfo) in ExecutePatchMain() argument 124 …UnloadPatchInternal(thread, patchFile->GetJSPandaFileDesc(), baseFile->GetJSPandaFileDesc(), patch… in ExecutePatchMain() [all …]
|
D | patch_loader.h | 65 static PatchErrorCode LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, 70 …static MethodLiteral *FindSameMethod(PatchInfo &patchInfo, const JSPandaFile *baseFile, EntityId b… 75 const JSPandaFile *baseFile, 78 static void SaveBaseMethodInfo(PatchInfo &patchInfo, const JSPandaFile *baseFile, 85 … bool ExecutePatchMain(JSThread *thread, const JSPandaFile *patchFile, const JSPandaFile *baseFile,
|
D | quick_fix_manager.cpp | 35 void QuickFixManager::LoadPatchIfNeeded(JSThread *thread, const JSPandaFile *baseFile) in LoadPatchIfNeeded() argument 45 CString baseFileName = baseFile->GetJSPandaFileDesc(); in LoadPatchIfNeeded() 65 auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo); in LoadPatchIfNeeded() 83 std::shared_ptr<JSPandaFile> baseFile = in LoadPatch() local 85 if (baseFile == nullptr) { in LoadPatch() 99 auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo); in LoadPatch() 120 std::shared_ptr<JSPandaFile> baseFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch() local 122 if (baseFile == nullptr) { in LoadPatch() 135 auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo); in LoadPatch() 172 JSTaggedValue QuickFixManager::CheckAndGetPatch(JSThread *thread, const JSPandaFile *baseFile, Enti… in CheckAndGetPatch() argument [all …]
|
D | quick_fix_manager.h | 32 void LoadPatchIfNeeded(JSThread *thread, const JSPandaFile *baseFile); 41 …JSTaggedValue CheckAndGetPatch(JSThread *thread, const JSPandaFile *baseFile, EntityId baseMethodI…
|
/arkcompiler/ets_runtime/ecmascript/debugger/tests/ |
D | hot_reload_manager_test.cpp | 75 auto baseFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(baseFileName.c_str()); in HWTEST_F_L0() local 76 EXPECT_TRUE(baseFile != nullptr); in HWTEST_F_L0() 77 EXPECT_TRUE(hotReloadManager->GetBaseJSPandaFile(baseFile.get()) == baseFile.get()); 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 | 149 …std::shared_ptr<JSPandaFile> baseFile = pfManager->NewJSPandaFile(basePF.release(), CString(baseFi… in HWTEST_F_L0() local 151 pfManager->AddJSPandaFileVm(instance, baseFile); in HWTEST_F_L0() 158 pfManager->RemoveJSPandaFileVm(instance, baseFile.get()); in HWTEST_F_L0() 188 std::shared_ptr<JSPandaFile> baseFile = in HWTEST_F_L0() local 190 EXPECT_TRUE(baseFile != nullptr); in HWTEST_F_L0() 196 quickFixManager->LoadPatchIfNeeded(thread, baseFile.get()); in HWTEST_F_L0() 199 pfManager->RemoveJSPandaFileVm(instance, baseFile.get()); in HWTEST_F_L0()
|
/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()
|
D | hot_reload_manager.h | 31 void NotifyPatchLoaded(const JSPandaFile *baseFile, const JSPandaFile *patchFile);
|