53 Commits

Author SHA1 Message Date
openharmony_ci
895ccbd910
!3193 Redundant header file cleanup
Merge pull request !3193 from LiYue/0113-remain-header
2025-01-16 05:04:04 +00:00
liyue
aaa22f5e8f Redundant header file cleanup
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IBHIB0
Signed-off-by: liyue <liyue210@huawei.com>
Change-Id: I40af0201ac576dee8f7fda06cf64c0c45477d0a0
2025-01-13 19:09:11 +08:00
openharmony_ci
a775ddf871
!3170 Redundant header file cleanup
Merge pull request !3170 from LiYue/1227_redundant_header
2025-01-10 05:26:48 +00:00
liyue
8d39bc141e Redundant header file cleanup
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IBGF2H
Change-Id: I88bad5f7c32fc61f3c636b95da8e00c75917cc2b
Signed-off-by: liyue <liyue210@huawei.com>
2025-01-09 22:32:13 +08:00
renguangxuan
21baa69919 Es2abc compiled memory optimization
Issue: #IBEQBS

Signed-off-by: renguangxuan <renguangxuan@huawei.com>
Change-Id: Ie558f14f55122c49baae92ed2cdf4fcd2dc5c610
2025-01-03 15:51:34 +08:00
renguangxuan
a9f4fe7394 Roll back es2abc memory optimization
Issue: #IB4U6V

Signed-off-by: renguangxuan <renguangxuan@huawei.com>
Change-Id: I906027892e984b9b5b080cbfa64c59cfdbc55c40
2024-11-16 19:46:21 +08:00
renguangxuan
ca75455743 Es2abc compiled memory optimization
Issue: #IAZ6DG

Signed-off-by: renguangxuan <renguangxuan@huawei.com>
Change-Id: I1feeae801baf1b9b03149c207f485d9736461ba8
2024-11-01 10:43:51 +08:00
ElevenDuan
4e4e784f02 Fix the line number of debuginfo in release
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAXX97
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I1b72e3088c2b6271138a9c7e13399b4598846e62
2024-10-22 09:50:45 +08:00
ElevenDuan
da9616cfaf Fix codecheck 0827
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAMWQI
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I0ac559022d2b95e50251715973c876977ebebe73
2024-08-28 10:23:34 +08:00
ah
7b15146256 Added deps to accommodate arkui_x
Issue: IAIMO2

Signed-off-by: ah <liangahui@h-partners.com>
2024-08-08 10:07:30 +08:00
openharmony_ci
8620175447
!1753 Optimize function code structure in runtime_core
Merge pull request !1753 from huihuihui/Codecomplexity
2024-06-18 04:15:02 +00:00
晓熊猫
5e73d8d151 Fix bug with columnNumber use lineNumber
Signed-off-by: 晓熊猫 <zhengxiaoyong2@huawei.com>
Change-Id: I92b6761636c29422547e9e9bd7b5c7c78600bcc7
2024-06-05 15:49:29 +08:00
ah
acfa8d38c6 Optimize function code structure in runtime_core
Signed-off-by: ah <liangahui@h-partners.com>
2024-06-03 13:52:57 +08:00
openharmony_ci
a55eb98281
!1760 Fix codecheck warnings of the master branch in runtime _core
Merge pull request !1760 from huihuihui/codecheck
2024-05-31 08:10:51 +00:00
ah
536154a11b Fix codecheck warnings of the master branch in runtime _core
Signed-off-by: ah <liangahui@h-partners.com>
2024-05-30 16:21:44 +08:00
zhaoziming
184aac718f Change the way to pass opt-try-catch-func option
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I91AY1

Tests: frontend_tests & test262 & runtime_core_ut & runtime_ut &
AOT daily test

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I1d932d14ee6f5f75405bf085d0ad5406bde839d4
2024-05-27 16:45:51 +08:00
li-tao116
b5e7a36393 Enable optimizations for try-catch
Signed-off-by: litao <litao@kaihong.com>
Change-Id: Ic70ef036baa4085c6a9141af27cba0277ebdc132
2024-05-27 09:53:14 +08:00
shixiaowei4
81e6c6b804 Update version for Function name with scopes
Signed-off-by: shixiaowei4 <shixiaowei4@huawei.com>
Change-Id: I5ff43c21ff8b3df02871f1a137338d33b94ee857
2024-05-25 16:04:00 +08:00
huyunhui
1be0743253 Add ic_slot to istrue/isfalse
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9LH6H

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I9e483afa7d25cf93833a355eab8481694a1ad526
2024-05-23 14:27:57 +08:00
zhaoziming
b9978bf60e Support corss-file branch elimination
issue: I9IS1Z

Tests: runtime_core UT & defect_scan & verifier & test262 & frontend
tests & standalone build

Change-Id: I737706d219fb777184e65e359ffaf0e08f0c9a3c
Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
2024-04-29 20:49:14 +08:00
openharmony_ci
32465f03be
!1600 Fix bytecode codegen tests
Merge pull request !1600 from huangyu/0424_safepoint_ut
2024-04-28 07:46:56 +00:00
huangyu
b7a1e044ac Fix bytecode codegen tests
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I9J8XV
Test: runtime_core_host_unittest in release/debug mode

Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: I1256a51526e6eaffdeee625b905972cae64cd938
2024-04-24 17:35:25 +08:00
li-tao116
9de88f4d9a Add branch elimination optimization
Issue: I99T6C
Tests: standalone build & runtime_core UT & frontend tests & verifier tests & defect_scan UT.

Signed-off-by: litao <litao@kaihong.com>
Change-Id: Icf47c8c9fb482aed81200cc09a5136de17023b9a
2024-04-24 11:56:34 +08:00
huangyu
1f6508d032 Remove type system for bytecode optimizer
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9GG52
Test: runtime_core UT, es2abc UT, test262, ets_runtime UT, standalone build

Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: Ib233fbf1a5df3e49492f7cc411cab54ed3361ae4
2024-04-16 17:35:04 +08:00
openharmony_ci
3c1f8bcefe
!1348 Optimize ABC file format by eliminating redundant content
Merge pull request !1348 from hufeng/opt_abc_format
2024-04-02 09:42:22 +00:00
ah
b10fa48f09 5.0 component improvement
Signed-off-by: ah <liangahui@h-partners.com>
2024-03-30 20:33:23 +08:00
hufeng
a0605b0241 Adapt to BytecodeOptimizer
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: Ifba36094fbe89632574bde23a4ca75ebde84b594
2024-03-26 13:07:49 +00:00
ctw-ian
f6c174e566 Fix codecheck of unit tests
Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I7TLEU

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I76742260f725fa669287554013bb2ad946690792
2023-08-16 15:47:13 +08:00
lw19901203
6a8e952ebc Add unittest for bytecode
https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I7KLRF

Signed-off-by: lw19901203 <liuwei742@huawei.com>
2023-08-01 09:32:39 +08:00
songqi
5bbe8c5e21 Fix build warnings
Issue: I78P2B
Test: build target
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: Ifabbe1f6bda24ccf71d4875f53b4c733e1ef8fcc
2023-05-27 10:50:32 +08:00
ctw-ian
194cae715c Set max bytecode size for optimizer
Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I71U4S

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I5bc70f3687848febdea01155f22a878f935bea83
2023-05-10 14:55:42 +08:00
arvinzzz
c5f91c05ac disable backward cfi for arkcompiler
Test: build

Issue: I71CPO

Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: Ib71d6c8f4db95a10574c123c222a935f653b51b9
2023-05-08 22:22:11 +08:00
jiangkaiwen
d48daca1ea Fix the compile warning of the master branch
Issue:I6PMAN

Signed-off-by: jiangkaiwen <jiangkaiwen2@huawei.com>
Change-Id: I6612adbffef53db0945f9adb7fda29a2326ba5d6
2023-03-23 20:51:57 +08:00
qiuyu
74927531b5 Disable ExcludedKeys test on devices
Disable ExcludedKeys test on devices, as its all logic is on host.

Issue: I6D6YF

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I757de8f20971b7f4cbc0902db2bbf2c7833e7c56
2023-02-06 15:34:55 +08:00
openharmony_ci
768b5f1bf4
!339 Fix wrong args count for CreateObjWithExcludedKeys in inst_builder
Merge pull request !339 from qiuyu/exclude
2023-02-02 14:34:01 +00:00
qiuyu
2219f0b70f Fix wrong args count for CreateObjWithExcludedKeys in inst_builder
Fix wrong args count for CreateObjWithExcludedKeys in inst_builder

Issue: #I6BQUE

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: Id6ec272cc92a3e76c4b4e023af16cb5b06f3ad6b
2023-02-02 22:01:31 +08:00
shawn_hu_ls
757889d5e3 Auto format the protection macros in header files
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I687G9?from=project-issue
Test: tdd

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-12-30 17:15:47 +08:00
songqi
2aaf2bd93a Fix codeCheck warnings
Fix codeCheck warnings.

Issue: I66P94
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I93ebb2dfba07c5918247750c50034b98c599b96c
2022-12-19 16:12:18 +08:00
songqi
2c9369c06d Fix codeCheck warnings
Fix codeCheck warnings.

Issue: I63WHB
Tests: defectscanaux_ut, runtime_core_ut, standalone build, test262
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I5098ec460d3396a6e887467684a11ad579d40c11
2022-12-01 12:00:05 +08:00
qiuyu
2b028ad277 Remove unused code
Remove unused code

Issue: #I638QE
Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I33908e556a638806a5bb2a06e023ba449ba910ef
2022-11-28 21:08:24 +08:00
songqi
d391cc6b1f Add TDD test cases
Add TDD test cases to verify code correctness.

Issue: I62LZJ
Test: device/host unit test, ark standalone build
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: Ieab285a36189365d4df7eec6c9c697c7f681f3bb
2022-11-24 06:33:39 +00:00
huangyu
3480ef730a Update typeinfo of instruction which has no accumulator as out after optimization
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I618NM

Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: Ie37a1fd0d3b7a11879c3b2fdb1eb16271ad6329b
2022-11-22 09:58:55 +00:00
qiuyu
bafd16e5a3 Remove unused code
Remove unused code

Issue: #I622DW
Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: Ifc80f3f63691a71f51701f061a817fb84b7e6e41
2022-11-20 18:55:21 +08:00
songqi
6c5a1713c3 Add TDD test cases
Add TDD test cases to verify code correctness.

Issue: I61M8D
Test: unit test
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I8313d2b4445b78315730c88d7515bc20249a819e
2022-11-19 10:04:53 +00:00
wengchangcheng
a493983208 Descriptor: Modify for ark standalone build
Details: Modify gn

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5Z3PY

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I7dd472ed8f046092051dfb2d2541e5257a6644a7
2022-11-16 09:40:31 +08:00
wengchangcheng
1aa1978ffc Descriptor: Fix standalone build error
Details: Modify gn and some template

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XGZ4

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I3fe28c4413cb7cc0aa0a2edd39ad52722bb9803a
2022-10-25 00:00:41 +08:00
wengchangcheng
13cd6bfb43 Descriptor: 部件化整改 ark -> arkcompiler
Details: 部件化整改 ark -> arkcompiler

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VJMH

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ic0026be5a4c78e51e8e542ab3fa35d17f68e1ffa
2022-10-13 15:57:44 +08:00
qiuyu
fcfb153439 Change LiteralArrayIndex to offset
Change LiteralArrayIndex to string key and let it emitted as offset

Issue: #I5T93S

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I0566e772f1e40fbaaeead05e9b3d0ea0cf3aabf3
2022-10-09 10:54:05 +08:00
qiuyu
46397a5114 ISA-Refactor for ecmascript
ISA-Refactor for ecmascript

Issue: I5QWXL
Signed-off-by: qiuyu <qiuyu22@huawei.com>
2022-09-27 21:51:36 +08:00
songqi
b45ec1bec7 Fix codecheck warnings
Fix codecheck warnings.

Issue: I5QHOC
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: Ie691be3ab83524d850e70e6397ea218890185fb2
2022-09-22 15:00:54 +08:00