mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 16:13:49 +00:00
revert PR 4843
issue :https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8AAZF?from=project-issue Signed-off-by: DaiHN <daihuina1@huawei.com> Change-Id: Id4d5b8dd304c0edabf62a8bfc92941f1d661ce20 Change-Id: If6c739e6c3e927fa9c4594e15134765cceb650ff
This commit is contained in:
parent
056398f55e
commit
d6b1332d42
@ -36,7 +36,7 @@ JSPandaFile::JSPandaFile(const panda_file::File *pf, const CString &descriptor)
|
|||||||
}
|
}
|
||||||
checksum_ = pf->GetHeader()->checksum;
|
checksum_ = pf->GetHeader()->checksum;
|
||||||
isNewVersion_ = pf_->GetHeader()->version > OLD_VERSION;
|
isNewVersion_ = pf_->GetHeader()->version > OLD_VERSION;
|
||||||
if (!loadedFirstPandaFile && !isBundlePack_ && strstr(desc_.c_str(), MERGE_ABC_NAME) != NULL) {
|
if (!loadedFirstPandaFile && !isBundlePack_) {
|
||||||
// Tag the first merged abc to use constant string. The lifetime of this first panda file is the same
|
// Tag the first merged abc to use constant string. The lifetime of this first panda file is the same
|
||||||
// as the vm. And make sure the first pandafile is the same at the compile time and runtime.
|
// as the vm. And make sure the first pandafile is the same at the compile time and runtime.
|
||||||
isFirstPandafile_ = true;
|
isFirstPandafile_ = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user