| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
!11147 merge bugfix20260807 into master Fix miss setRange Created-by: weixin_66783499 Commit-by: l00946971 Merged-by: openharmony_ci Description: ### 关联的Issue https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11917 ### 提交类型 - [ ] 需求 - [ ] bugfix ### 需求背景/Description <!-- 仅涉及需求时填写 --> Fix miss setRange ### 问题现象&&分析/Reason <!-- 仅涉及bugfix时填写 --> Fix miss setRange ### 修改方案/Scheme Fix miss setRange ### 测试结果(测试截图直接贴在对应测试项,主干已知问题需明确引入pr/责任人) #### 功能测试(除仅涉及文本外必测项)[wiki](https://gitee.com/openharmony/arkcompiler_ets_frontend/wikis/代码提交要求及测试验证流程) 1. es2abc测试用例(Debug模式) - [ ] 已通过 - [ ] 不涉及,无需验证 2. Verifier测试 - [ ] 已通过 - [ ] 不涉及,无需验证 3. 64位RK编译 - [ ] 已通过 - [ ] 不涉及,无需验证 4. 编译mac平台sdk - [ ] 已通过 - [ ] 不涉及,无需验证 #### 混淆测试(涉及arkguard改动时必测项)[wiki](https://gitee.com/openharmony/arkcompiler_ets_frontend/wikis/混淆测试验证流程?sort_id=11451209) 1. 单元测试 - [ ] 已通过 - [ ] 不涉及,无需验证 2. Compiler测试套 - [ ] 已通过 - [ ] 不涉及,无需验证 3. TSC extra测试套 - [ ] 已通过 - [ ] 不涉及,无需验证 4. Test262测试套 - [ ] 已通过 - [ ] 不涉及,无需验证 5. Benchmark测试 - [ ] 已通过 - [ ] 不涉及,无需验证 6. 应用自动化测试套 - [ ] 已通过 - [ ] 不涉及,无需验证 7. 是否创建全局变量,若创建全局变量,是否有清空操作 - [ ] 创建了全局变量,且已清空 - [ ] 创建了全局变量,未清空 - [ ] 未创建全局变量 #### 兼容性测试(指令生成、文件格式修改时) 1. 小版本兼容性测试 <!-- 修改导致新abc无法运行在老镜像上时,需新增版本号 --> - [ ] 已增加版本号 - [ ] 已通过 - [ ] 不涉及,无需验证 2. 大版本兼容性测试 <!-- 配置target-api-version时,生成的abc需要能在对应版本运行--> - [ ] 已通过 - [ ] 不涉及,无需验证 3. es2abc版本兼容性测试 <!-- 新版本es2abc编译的老版本API的abc文件,应能被老版本es2abc正常识别和处理--> **说明:如PR涉及版本控制用例的变更,需同步检查修改对其他分支的影响,并确认是否要同步受影响的分支** - [ ] 涉及,变更影响 API/字节码 版本, 需同步修改到其他分支 - [ ] 涉及,变更影响 API/字节码 版本, 无需同步到其他分支 - [ ] 不涉及,变更不涉及 API/字节码 版本 4. 是否涉及词法环境修改 **说明:如PR涉及词法环境修改,需验证对应热重载场景是否兼容** - [ ] 涉及,影响热重载场景,需排查影响 - [ ] 涉及,不影响热重载场景 - [ ] 不涉及 #### 性能测试 (新增语法检查等场景) - [ ] 已通过 - [ ] 不涉及,无需验证 #### 指令/abc格式修改自检,需联系下方邮箱,同步至相关领域 **重要:涉及runtime_core仓abc2program、libpandafile、isa目录下的修改,必须提供一个编译helloworld项目的hap包给对应领域,并联系下方邮箱** - [ ] 涉及,已同步 - [ ] 不涉及 **Email:** wutao185@huawei.com ### 是否已执行L0用例 - [ ] 已验证 - [ ] 不涉及。如不涉及,请写明理由 ### 是否已执行L0用例 - [ ] 已验证 - [ ] 不涉及。如不涉及,请写明理由 See merge request: openharmony/arkcompiler_ets_frontend!11147 | 1 天前 | |
Fix forof Issue:https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11688 Signed-off-by: yuan_chao_hua <yuanchaoxuan@huawei.com> Co-Authored-By: Agent | 1 个月前 | |
Update ets2panda documentation Description: * Update existing and create new AGENTS.md files * Add document for onboarding * Update Core Readme Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9210 Signed-off-by: Chernykh Sergey <chernykh.sergey1@huawei.com> | 5 个月前 | |
Adapt agents.md Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9090 Signed-off-by: xuxjeeee <xuxinjie4@huawei.com> | 5 个月前 | |
[ metadata ] Implement metadata deserialization Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9912 Change-Id: I6fd1b806c0ce92f6b32112ade1e46b576ba662b8 Signed-off-by: Victor Petukhov <petukhov.victor@huawei-partners.com> Co-Authored-By: Victor Petukhov <petukhov.victor@huawei-partners.com> | 3 个月前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 6 个月前 | |
Optimize Indexer and Bridge lowerings Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11687 Tests: use Test-U-Runners and CI Co-Authored-By: Agent Signed-off-by: Zelentsov Dmitry <zelentsov.dmitry@huawei-partners.com> | 1 个月前 | |
[ metadata ] Implement metadata deserialization Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9912 Change-Id: I6fd1b806c0ce92f6b32112ade1e46b576ba662b8 Signed-off-by: Victor Petukhov <petukhov.victor@huawei-partners.com> Co-Authored-By: Victor Petukhov <petukhov.victor@huawei-partners.com> | 3 个月前 | |
ast-cache Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IC6FKB?from=project-issue Change-Id: Ib2c4c9a9f9a061f42a01d5ffad1b5fe1ed5b73c5 Signed-off-by: ekkoruse <zhangqingchun2@huawei.com> | 1 年前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 6 个月前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 6 个月前 | |
export closure resolve Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11660 Co-Authored-By: Agent Signed-off-by: GengLiangWang <GengLiangW@outlook.com> | 1 个月前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 6 个月前 | |
Optimize AST/declaration traversals * Optimize class/interface iteration in declaration lowerings * Optimize TopLevelStatements AST traversals * Remove AST history overhead in default build * Disable ETSNOLINT parser if warnings are not tracked * Optimize external function emission path * Reduce realpath calls during reexport binding Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8265 Signed-off-by: Vsevolod Pukhov <pukhov.vsevolod1@huawei.com> | 8 个月前 | |
!11029 merge separate_compile into master Reduce usage of memory on emitting stage Created-by: v-cherkashin Commit-by: Vyacheslav Cherkashin Merged-by: openharmony_ci Description: ### **Issue** https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/10303 ### **Reason** In simultaneous incremental build all pandasm program structures were kept in memory until the end of the emitting stage, which resulted in high peak memory usage. ### **Description** Switch the simultaneous incremental build to per-file compilation: for each program its compile jobs are scheduled and emitted separately, the .abc file is generated right away and the pandasm structures are dropped before moving on to the next file. To make per-program scheduling cheap, compilable function scopes are now stored in their owning parser::Program, and the binder keeps only a lightweight registry of such programs, so CompileQueue::Schedule(program) is an O(1) lookup instead of filtering a global list with an AST walk per scope. ### **Tests** ninja all tests **All required pre-merge tests passed. Results are available in the internal CI.** See merge request: openharmony/arkcompiler_ets_frontend!11029 | 1 天前 | |
revert !11073 and refix the relative cts cases Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11923 Co-Authored-By: Agent Signed-off-by: anjiaqi257 <anjiaqi4@huawei.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 2 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 天前 | ||
| 1 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 3 个月前 | ||
| 6 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 1 个月前 | ||
| 6 个月前 | ||
| 8 个月前 | ||
| 1 天前 | ||
| 2 天前 |