| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Renamed libpandabase into libarkbase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 1 年前 | |
Update all copyrights Update all copyrights headers with 2024 Issue: #IAEF1K Tests: ninja tests Signed-off-by: molotkovmikhail <molotkov.mikhail@huawei-partners.com> | 2 年前 | |
Reserve IC slots for any.*-related bytecodes Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9256 Co-Authored-By: Agent Co-Authored-By: xuhangqi Change-Id: Ic737ec58f2616657849c4e4e22cf791527c48c6a Signed-off-by: jiangmingcheng <jiangmingcheng1@huawei.com> Signed-off-by: xuhangqi <xuhangqi@huawei.com> | 6 个月前 | |
Support primitive never type Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/10898 Signed-off-by: kurnevichstanislav <kurnevich.stanislav@huawei-partners.com> Change-Id: I9efbedb16fde3a9ffa0809b8384e18f957fe785c Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com Co-Authored-By: devagent/cortex <noreply@devagent.ai> | 5 个月前 | |
Renamed libpandabase into libarkbase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 1 年前 | |
Adapt agents.md Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9090 Signed-off-by: xuxjeeee <xuxinjie4@huawei.com> | 7 个月前 | |
iOS support Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11341 Co-Authored-By: NA Signed-off-by: Korobeinikov Evgeny <korobeinikov.evgeny@huawei.com> Change-Id: Ic4cbf5475e6dd180b6ab79a36044588f558fc4a1 | 4 个月前 | |
Adapt agents.md Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9090 Signed-off-by: xuxjeeee <xuxinjie4@huawei.com> | 7 个月前 | |
Delete Reduntdant Strings When Obfuscate Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/8736 Change-Id: Id7acd88e97880dff663baeeacacbd806059ed102 Signed-off-by: syc <sunyichen4@huawei.com> Add mem checker for optimzie Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/8583 Change-Id: I268f068adae5e2d2e997a4a40e585e088ecd23f7 Signed-off-by: shitao880122 <shitao40@huawei.com> | 8 个月前 | |
Fix clang-tidy Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9607 Signed-off-by: Denis Slynko <slynko.denis1@huawei.com> | 7 个月前 | |
!10529 merge mockfix into master Bugfix for mock Created-by: Graceunderpressure Commit-by: Graceunderpressure Merged-by: openharmony_ci Description: ### Issue [[Bug]: [libabckit] BugFix for Mock](https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/8347) ### 描述/Description Fixed several issues discovered during integration testing with the mock testing framework. ### 原因/Reason BugFix 1 – Unable to Create Function Parameters bool (*functionAddParameter)(AbckitArktsFunction *func, AbckitArktsFunctionParam *param); could not be used because users had no way to create an AbckitArktsFunctionParam object. A new data structure AbckitArktsFunctionParamCreatedParams and API functionCreateParameter were introduced to support parameter creation. BugFix 2 – Setting Return Type to Union Causes Coredump Calling functionSetReturnType with a union type may cause a coredump. Fixed by updating getReferenceTypeName and adding target key conflict detection in UpdateFunctionTableKey. BugFix 3 – Incorrect Async Lambda Assignment  When opening abc files containing async–lambda combinations, assignAsyncFunction may misassign entries (e.g., %%async-lambda_invoke-109 → lambda_invoke-109).  During lookup, the return type is incorrectly assumed to be Promise, while the actual return type may be void.  BugFix 4 – Rewriting abc Without Changes Causes Execution Failure async function testAsyncLambda() { const fetchData = async () => { return "hello"; }; const result = await fetchData(); console.log(result); } function main(){ testAsyncLambda(); } Opening the abc with Abckit and writing it back without modifications leads to execution failure.  After disassembling the abc file we found that  the annotation element which has method type is missed, because AbcAnnotationProcessor::FillAnnotationElement did not correctly handle array-type annotation elements. BugFix 5 – Fix Create Graph Failed class c1{} function test(x:c1){ if(x){ console.log(1); } }  we can't create graph form the above "test" method, because we cant get static opcode for ets.istrue in abckit function test(x:double){ console.log(x) } test(2000000); the above code can compile and execute but we cant create graph for function "test"  function test(a:c1){ if(typeof a === 'c1'){ console.log("123"); } } we can't create graph form the above "test" method, because we cant get static opcode for ets.typeof in abckit BugFix 7 – Return Type Change Breaks Annotation Resolution function testFunc(n: number): number { return n * 2; } function bar6(f: (x: number) => number): number { return f(5); } let result = bar6(testFunc); Changing the return type of testFunc (e.g., number → string) causes abc emission to fail. TEST_F(LibAbcKitArkTSModifyApiAnnotationsTest, TestAysncFunctionSetReturnType) { AbckitFile *file = nullptr; // openabc and find method helpers::AssertOpenAbc(INPUT_PATH, &file); auto *method = helpers::FindMethodByName(file, "testFunc"); ASSERT_NE(method, nullptr); auto *graph = g_implI->createGraphFromFunction(method); ASSERT_NE(graph, nullptr); auto *originalRet = helpers::FindFirstInst(graph, ABCKIT_ISA_API_STATIC_OPCODE_RETURN); auto *res = g_implM->createValueString(file, "test", strlen("test")); auto *type = g_implI->valueGetType(res); ASSERT_EQ(g_impl->getLastError(), ABCKIT_STATUS_NO_ERROR); ASSERT_NE(type, nullptr); // set testFunc return type from number to string auto *arktsFunc = g_implArkI->coreFunctionToArktsFunction(method); bool success = g_implArkM->functionSetReturnType(arktsFunc, type); ASSERT_TRUE(success) << "Failed to set return type to function"; // modify graph of testFunc auto *str = g_implM->createString(file, "hello", strlen("hello")); ASSERT_NE(str, nullptr); auto *loadStr = g_statG->iCreateLoadString(graph, str); ASSERT_NE(loadStr, nullptr); g_implG->iInsertBefore(loadStr, originalRet); ASSERT_EQ(g_impl->getLastError(), ABCKIT_STATUS_NO_ERROR); auto *newReturnInst = g_statG->iCreateReturn(graph, loadStr); ASSERT_NE(newReturnInst, nullptr); ASSERT_EQ(g_impl->getLastError(), ABCKIT_STATUS_NO_ERROR); helpers::ReplaceInst(originalRet, newReturnInst); ASSERT_EQ(g_impl->getLastError(), ABCKIT_STATUS_NO_ERROR); g_implG->gDump(graph, 1); g_implM->functionSetGraph(method, graph); g_impl->destroyGraph(graph); ASSERT_EQ(g_impl->getLastError(), ABCKIT_STATUS_NO_ERROR); g_impl->writeAbc(file, OUTPUT_PATH, strlen(OUTPUT_PATH)); g_impl->closeFile(file); ASSERT_EQ(g_impl->getLastError(), ABCKIT_STATUS_NO_ERROR); helpers::AssertOpenAbc(OUTPUT_PATH, &file); }  After disassembly, the annotation element inside annotations_static_modify.%%lambda-lambda_invoke-0 was still using the old function signature. The emitter could not resolve the method using this outdated signature.  In this case, we need to remove the corresponding FunctionalReference-type annotation element and then recreate it using the annotationAddAnnotationElement API. BugFix 8 – Namespace Rename Does Not Update Annotation namespace ns{ class A{ foo():string{ return 'foo'; } } }  After renaming the namespace using namespaceSetName, the annotation element for class A still references the old namespace.  Same approach as BugFix 7 — remove the stale annotation element and add a new one with the updated namespace name. ### 修改方案/Scheme ### **[测试项](https://gitee.com/openharmony/arkcompiler_runtime_core/wikis)**  ##### **一、 Runtime Core UT(Release/Debug)** - [x] 已通过 - [ ] 不涉及,无需验证 1. Host 2. Device ##### **二、Verifier测试** - [ ] 已通过 - [x] 不涉及,无需验证 ##### **三、Fuzz编译测试** - [ ] 已通过 - [x] 不涉及,无需验证 ##### **四、64位RK编译** - [ ] 已通过 - [x] 不涉及,无需验证 ##### **五、编译mac平台sdk** - [ ] 已通过 - [x] 不涉及,无需验证 ##### **六、指令/abc格式修改自检,需联系下方邮箱,同步至相关领域** **重要:涉及runtime_core仓abc2program、libpandafile、isa目录下的修改,必须提供一个编译helloworld项目的hap包给对应领域,并联系下方邮箱** - [ ] 涉及,已同步 - [x] 不涉及 **Email:** wutao185@huawei.com ##### **七、Panda_Guard版本号变更自检** - [ ] 涉及,**涉及请联系邮箱:** wutao185@huawei.com - [x] 不涉及 ##### **八、兼容性测试(指令生成、文件格式修改时)** 1. 小版本兼容性测试 <!-- 修改导致新abc无法运行在老镜像上时,需新增版本号 --> - [ ] 已增加版本号 - [ ] 已通过 - [x] 不涉及,无需验证 2. 大版本兼容性测试 <!-- 配置target-api-version时,生成的abc需要能在对应版本运行--> - [ ] 已通过 - [x] 不涉及,无需验证 3. es2abc版本兼容性测试 <!-- 新版本es2abc编译的老版本API的abc文件,应能被老版本es2abc正常识别和处理--> **说明:如PR涉及版本控制用例的变更,需同步检查修改对其他分支的影响,并确认是否要同步受影响的分支** - [ ] 涉及,变更影响 API/字节码 版本, 需同步修改到其他分支 - [ ] 涉及,变更影响 API/字节码 版本, 无需同步到其他分支 - [x] 不涉及,变更不涉及 API/字节码 版本 ##### **九、是否已执行L0用例 - [ ] 已验证 - [x] 不涉及。如不涉及,请写明理由 See merge request: openharmony/arkcompiler_runtime_core!10529 | 8 个月前 | |
sync 0702 to master Issue:https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/8542 Signed-off-by: wuyuanchao4 <wuyuanchao4@huawei.com> | 10 个月前 | |
sync 0702 to master Issue:https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/8542 Signed-off-by: wuyuanchao4 <wuyuanchao4@huawei.com> | 10 个月前 | |
Some refactor due to new codecheck Issue: #IAFDGR Signed-off-by: Sergey Khil <khil.sergey@huawei.com> | 2 年前 | |
merge pr_8549_1757900384700 into OpenHarmony_feature_20250702 Remove unused data in debugInfo Created-by: huyunhui1 Commit-by: huyunhui Merged-by: openharmony_ci Description: Change-Id: I24e5d3fe2488fe72bd7c5c189194d62f9fde6759 ### Issue https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/7283 ### Description Remove unused data in debugInfo to improve performance ### Reason Remove unused data in debugInfo to improve performance(about 5%) ### Test All internal-CI passed See merge request: openharmony/arkcompiler_runtime_core!9153 | 1 年前 | |
modify byetcode version when using aop Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11146 Co-Authored-By: Agent Change-Id: I128a04a9aa49666488412c8fe0cdb5bf16a73548 Signed-off-by: Graceunderpressure <sunyichen4@huawei.com> | 5 个月前 | |
modify byetcode version when using aop Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11146 Co-Authored-By: Agent Change-Id: I128a04a9aa49666488412c8fe0cdb5bf16a73548 Signed-off-by: Graceunderpressure <sunyichen4@huawei.com> | 5 个月前 | |
Reduce the size of Ins structure Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICGDQM Tests: use Test-U-Runner and CI tests Change-Id: I6e203adeef35a4002ff132c3cb61fad23f4e962d Signed-off-by: Zelentsov Dmitry <zelentsov.dmitry@huawei-partners.com> | 1 年前 | |
Renamed libpandabase into libarkbase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 1 年前 | |
Fix nightly build aop failure Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/10694 Co-Authored-By: Agent Change-Id: I756e38dfc4ac43a9d2848477792ca2ef7a7cc8af Signed-off-by: Graceunderpressure <sunyichen4@huawei.com> | 6 个月前 | |
Cherry-pick !8337 from 0702 to 0728 Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICTDTH Signed-off-by: zhaoshuting <zhaoshuting2@huawei.com> | 1 年前 | |
Add Devitual flag to bytecode Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICWPDS Description: when call the instance method of a final class, an the instance method has the same name with the static method, bytecode optimizer crash in debug mode. Reason: CallVirtualShort was devirtualed to CallShort, for CallShort, now we will only find the related method in the staticMap to call; So we need add an flag to inform that if a Call is devirtualed, we should find the related mthod in the instance-method map. Tests: ninja tests passed tests/tests-u-runner/runner.sh --ets-cts --show-progress --build-dir x64.release --processes=all passed tests/tests-u-runner/runner.sh --ets-func-tests --show-progress --build-dir x64.release --processes=all passed tests/tests-u-runner/runner.sh --astchecker --no-js --show-progress --build-dir x64.release --processes=all passed tests/tests-u-runner/runner.sh --ets-runtime --show-progress --build-dir x64.release --processes=all passed tests/tests-u-runner/runner.sh --parser --no-js --show-progress --build-dir x64.release --processes=all passed Signed-off-by: anjiaqi <anjiaqi4@huawei.com> | 1 年前 | |
Reduce the size of Ins structure Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICGDQM Tests: use Test-U-Runner and CI tests Change-Id: I6e203adeef35a4002ff132c3cb61fad23f4e962d Signed-off-by: Zelentsov Dmitry <zelentsov.dmitry@huawei-partners.com> | 1 年前 | |
Handle .abc dependencies in the codegen Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICSUAQ Signed-off-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> | 1 年前 | |
Handle .abc dependencies in the codegen Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICSUAQ Signed-off-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> | 1 年前 | |
Fix clang-tidy Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9607 Signed-off-by: Denis Slynko <slynko.denis1@huawei.com> | 7 个月前 | |
Fix clang-tidy Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9607 Signed-off-by: Denis Slynko <slynko.denis1@huawei.com> | 7 个月前 | |
Support static & instance methods with same name Make runtime to distinguish static and instance methods with the same name. Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IBJZUF Testing: - ninja all tests; Change-Id: If5fbc0fbd8894703cee2b625fb83c3a65a1cdb2a Signed-off-by: Anna Antipina <antipina.anna1@huawei.com> | 1 年前 | |
[ metadata ] Implement basic parts of metadata Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9211 Change-Id: I33b55e7b74e2943b6d57401508fb6bcd5c62041b Signed-off-by: Victor Petukhov <petukhov.victor@huawei-partners.com> | 7 个月前 | |
Reduce the size of Ins structure Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICGDQM Tests: use Test-U-Runner and CI tests Change-Id: I6e203adeef35a4002ff132c3cb61fad23f4e962d Signed-off-by: Zelentsov Dmitry <zelentsov.dmitry@huawei-partners.com> | 1 年前 | |
Support primitive never type Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/10898 Signed-off-by: kurnevichstanislav <kurnevich.stanislav@huawei-partners.com> Change-Id: I9efbedb16fde3a9ffa0809b8384e18f957fe785c Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com Co-Authored-By: devagent/cortex <noreply@devagent.ai> | 5 个月前 | |
Fix malformed ANI descriptor in fuzz Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11051 Co-Authored-By: Agent Signed-off-by: jichunjiang-30079441 <jichunjiang1@h-partners.com> | 5 个月前 | |
Some refactor due to new codecheck Issue: #IAFDGR Signed-off-by: Sergey Khil <khil.sergey@huawei.com> | 2 年前 | |
Support primitive never type Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/10898 Signed-off-by: kurnevichstanislav <kurnevich.stanislav@huawei-partners.com> Change-Id: I9efbedb16fde3a9ffa0809b8384e18f957fe785c Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com Co-Authored-By: devagent/cortex <noreply@devagent.ai> | 5 个月前 | |
Suppress/fix codecheck warnings Suppress/fix codecheck warnings in assembler and bytecode_optimizer folders Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAU01U Signed-off-by: Rokashevich Svetlana <rokashevich.svetlana1@huawei-partners.com> | 1 年前 | |
Reduce the size of Ins structure Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICGDQM Tests: use Test-U-Runner and CI tests Change-Id: I6e203adeef35a4002ff132c3cb61fad23f4e962d Signed-off-by: Zelentsov Dmitry <zelentsov.dmitry@huawei-partners.com> | 1 年前 | |
Second half of the mangling refactor patch Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/7919 Description: - updated code places - updated related tests Testing: All required pre-merge tests have passed. Related to internal issue: #21301 Change-Id: I0f2995a0c5ebe78b1589fdc7a3e729975f25432b Signed-off-by: Otto Eotvos <otto.eotvos@h-lab.eu> | 10 个月前 | |
Renamed libpandabase into libarkbase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 1 年前 | |
Fix clang tidy Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICWFXH Change-Id: I40f4642149cdfeb6866bf00816d9ae7e7fbec8f2 Signed-off-by: Klimentieva <klimentieva.maria@h-partners.com> | 1 年前 | |
add abckit arkts api Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/7325 Change-Id: I8526137ec577c36f5d20eb9f0b77c5f34046ce8e Signed-off-by: honglink <kanghonglin2@h-partners.com> | 1 年前 | |
Fix clang-tidy Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/8612 Signed-off-by: arutiunianan <arutiunian.ani@h-partners.com> | 8 个月前 | |
interop_js: Add rest parametes support Issue: #I91IS7 Testing: CI tests passed Signed-off-by: Vyacheslav Cherkashin <cherkashin.vyacheslav@huawei.com> Signed-off-by: churkinaleksey <churkin.aleksey@huawei-partners.com> | 2 年前 | |
Renamed libpandabase into libarkbase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 1 年前 | |
Renamed libpandabase into libarkbase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 2 年前 | ||
| 6 个月前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 4 个月前 | ||
| 7 个月前 | ||
| 8 个月前 | ||
| 7 个月前 | ||
| 8 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 2 年前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 |