mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-27 12:10:47 +00:00
commit
5eb60f158a
@ -36,7 +36,7 @@ JSPandaFile::JSPandaFile(const panda_file::File *pf, const CString &descriptor)
|
||||
}
|
||||
checksum_ = pf->GetHeader()->checksum;
|
||||
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
|
||||
// as the vm. And make sure the first pandafile is the same at the compile time and runtime.
|
||||
isFirstPandafile_ = true;
|
||||
|
Loading…
Reference in New Issue
Block a user