14 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
qiuyu
5a0298be18 Type system adaption for Bytecode optimizer
1. Adapt typescript type system for bytecode optimizer
2. Delete file_items_gen_inc as we do not have multi languages to support
3. Add log which can display typeinfo after optimizations in debug mode

Issue: I5HYBL
Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I97ce3fb3aca1592329abad86e022e74ecff4b9eb
2022-07-25 16:25:22 +08:00
huangyu
c658ccf319 Update runtime_core code
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5G96F
Test: Test262 suit, ark unittest, rk3568 XTS, ark previewer demo

Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: I3f63d129a07deaa27a390f556dcaa5651c098185
2022-07-17 10:20:32 +08:00