mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
Merge pull request !4901 from chenlincl3/cherry-pick-1695608359
This commit is contained in:
commit
8a5e9aed0b
@ -129,6 +129,7 @@ void ModuleDeregister::IncreaseRegisterCounts(JSThread *thread, JSHandle<SourceT
|
||||
requiredModule->SetLoadingTypes(LoadingTypes::STABLE_MODULE);
|
||||
return;
|
||||
}
|
||||
increaseModule.emplace(moduleName);
|
||||
LoadingTypes type = requiredModule->GetLoadingTypes();
|
||||
if (type == LoadingTypes::DYNAMITC_MODULE) {
|
||||
IncreaseRegisterCounts(thread, requiredModule, increaseModule);
|
||||
|
@ -505,7 +505,8 @@ JSHandle<JSTaggedValue> ModuleManager::ResolveModuleWithMerge(
|
||||
JSRecordInfo recordInfo;
|
||||
bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(recordName, recordInfo);
|
||||
if (!hasRecord) {
|
||||
CString msg = "cannot find record '" + recordName + "', please check the request path.";
|
||||
CString msg = "cannot find record '" + recordName + "', please check the request path.'"
|
||||
+ moduleFileName + "'.";
|
||||
LOG_FULL(ERROR) << msg;
|
||||
THROW_NEW_ERROR_AND_RETURN_HANDLE(thread, ErrorType::REFERENCE_ERROR, JSTaggedValue, msg.c_str());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user