Searched refs:baseFile (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/patch/ |
| D | patch_loader.cpp | 25 PatchErrorCode PatchLoader::LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, in LoadPatchInternal() argument 33 if (baseFile->IsBundlePack() || patchFile->IsBundlePack()) { in LoadPatchInternal() 41 if (!thread->GetCurrentEcmaContext()->HasCachedConstpool(baseFile)) { in LoadPatchInternal() 50 for (uint32_t idx = 0; idx < baseFile->GetConstpoolNum(); idx++) { in LoadPatchInternal() 51 JSTaggedValue constpool = thread->GetCurrentEcmaContext()->FindConstpool(baseFile, idx); in LoadPatchInternal() 61 FindAndReplaceSameMethod(thread, baseFile, patchFile, patchInfo, baseClassInfo); in LoadPatchInternal() 67 ReplaceModuleOfMethod(thread, baseFile, patchInfo); in LoadPatchInternal() 69 vm->GetJsDebuggerManager()->GetHotReloadManager()->NotifyPatchLoaded(baseFile, patchFile); in LoadPatchInternal() 114 void PatchLoader::ReplaceModuleOfMethod(JSThread *thread, const JSPandaFile *baseFile, PatchInfo &p… in ReplaceModuleOfMethod() argument 117 auto baseConstpoolValues = context->FindConstpools(baseFile); in ReplaceModuleOfMethod() [all …]
|
| D | quick_fix_manager.cpp | 39 void QuickFixManager::LoadPatchIfNeeded(JSThread *thread, const JSPandaFile *baseFile) in LoadPatchIfNeeded() argument 49 CString baseFileName = baseFile->GetJSPandaFileDesc(); in LoadPatchIfNeeded() 70 baseClassInfo_ = PatchLoader::CollectClassInfo(baseFile); in LoadPatchIfNeeded() 72 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile, patchFile.get(), patchInfo, baseClassI… in LoadPatchIfNeeded() 90 std::shared_ptr<JSPandaFile> baseFile = in LoadPatch() local 92 if (baseFile == nullptr) { in LoadPatch() 107 baseClassInfo_ = PatchLoader::CollectClassInfo(baseFile.get()); in LoadPatch() 109 …auto ret = PatchLoader::LoadPatchInternal(thread, baseFile.get(), patchFile.get(), patchInfo, base… in LoadPatch() 130 std::shared_ptr<JSPandaFile> baseFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in LoadPatch() local 132 if (baseFile == nullptr) { in LoadPatch() [all …]
|
| D | patch_loader.h | 98 static PatchErrorCode LoadPatchInternal(JSThread *thread, const JSPandaFile *baseFile, 104 static MethodLiteral *FindSameMethod(PatchInfo &patchInfo, const JSPandaFile *baseFile, 114 const JSPandaFile *baseFile, 118 static void SaveBaseMethodInfo(PatchInfo &patchInfo, const JSPandaFile *baseFile, 127 …static void ReplaceModuleOfMethod(JSThread *thread, const JSPandaFile *baseFile, PatchInfo &patchI…
|
| 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);
|