Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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
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