Commit Graph

47 Commits

Author SHA1 Message Date
renguangxuan
98ec502cd7 Add test262 and check_version to ggw
Issue: #IB4Q4Y

Signed-off-by: renguangxuan <renguangxuan@huawei.com>
Change-Id: Id8f52064faa8f9e700be70441e0063f822423a90
2024-11-16 17:38:16 +08:00
xuhangqi
54adf1f81b Refactor verifier based on ruby
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAS082

Signed-off-by: xuhangqi <xuhangqi@huawei.com>
Change-Id: I917d0bfa9ca348fd5023d56c4fe9603ebde2c6f4
2024-10-10 22:40:53 +08:00
openharmony_ci
76187d1ad1
!2491 Fixed properties for insts with two inline cache slots
Merge pull request !2491 from tsatsulya/isa_impl
2024-09-26 11:17:06 +00:00
varvara
62a19b9e35 !2491 isa.yaml for libabckit
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IARNLE?from=project-issue

Signed-off-by: varvara <ermolaeva.varvara@huawei-partners.com>
2024-09-17 17:45:12 +03:00
huyunhui1
4137894ae6 Modify bytecode version
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAPMVS

Signed-off-by: huyunhui1 <huyunhui1@huawei.com>
Change-Id: I6f5e99df13e49a4f0eb0c6b2e577ff91bd881a89
2024-09-15 14:11:55 +08:00
chenyiyuan
1d923838af Enhance the verifier check ability
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAH2ZI

Signed-off-by: chenyiyuan <chenyiyuan6@huawei.com>
Change-Id: If2102448e61bd67e404507e399edea8e5f4fce03
2024-09-02 21:10:49 +08:00
huyunhui
f23ef99843 Optimize implementation of super call
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IA95LC

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I5c7b1918683ea6c81a032ed15bfe2b259287e3c8
2024-08-26 20:54:29 +08:00
chenyiyuan
e979b81eaa Detect abc version changes
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAJAG9

Signed-off-by: chenyiyuan <chenyiyuan6@huawei.com>
Change-Id: Ie7e4677a4a4f845fcebc1240501ae17a6ea5d247
2024-08-15 11:03:08 +08:00
huyunhui1
948df91d61 Support lazy import
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAARFN

Signed-off-by: huyunhui1 <huyunhui1@huawei.com>
Change-Id: I90cf5e23941a728d60cdc4409cbb17a6385836ca
2024-07-09 16:28:58 +08:00
晓熊猫
1a515d8a42 Support sendable function
add sendable function kind for runtime

Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IA947R

Signed-off-by: 晓熊猫 <zhengxiaoyong2@huawei.com>
Change-Id: Ib557c3fdf34756c3e4b0d0707c713495e00ddf7b
2024-07-06 20:05:56 +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
huyunhui
1d692c92a6 Support using lexical var in sendable class
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9N8ZE

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I2f88129b215ca3698e493c1ced52f30af6ad2b53
2024-05-07 23:18:03 +08:00
chenyiyuan
c125ea630c Fix imm data read exception in optimizer and disassembler
issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I900SM

Signed-off-by: chenyiyuan <chenyiyuan6@huawei.com>
Change-Id: Id458ff0260eaaa28468674419635fc314705a720
2024-04-18 16:40:40 +08:00
hufeng
bf642a6be1 Fix_compatibility issue of runtime_core
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: I8fc899b856e1d50cfb19555095ae756a2a8c609a
2024-04-03 23:31:08 +08:00
huyunhui
891900d6df implement using module var in sendable class
Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I91CQ6

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I31e5b5085b2a1f99b22c9d27243878c6b38a06da
2024-03-10 11:02:16 +00:00
ctw-ian
ef7a6757f2 Fix ic assignment
Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I90TBR

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: Ie2ef5829afad040cb7f5e9834c6c6e1026a8b57f
2024-02-03 03:25:20 +00:00
huyunhui
fb347afc74 Support use class object in sendable class
Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I8SFAK

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I290203b3c746790e6fcd6f06689f241557d650eb
2023-12-30 14:58:00 +00:00
huyunhui
a4b767e6e9 Support sendable class
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I8O7O2wq

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I9fdcaac9a239d8d0f56ed8a783adf14e57bfb887
2023-12-24 14:01:36 +00:00
ctw-ian
00fda7f9ea Use first-level instruction of definefieldbyname
Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I8OJ77

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I29b7c145f935a38e75dfdcb5c72d6d8f0d078e44
2023-12-24 08:16:04 +00:00
zhaoziming
013896231d Making throw a basic block terminator in ir_builder by adding x_throw
Change-Id: Id96a701a34a014bb5e9d959bfd6c4a3be77be79d
Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
2023-12-18 17:33:33 +08:00
huyunhui
810c0be8e6 make version control realized
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8CE0X

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: If78d1954907849712824ead261ff19ffd1a5fd94
2023-12-03 13:32:56 +00:00
lichenshuai
69dbf37224 添加ECMA2022class相关新字节码9条
ECMA 2022 class相关新特性。
原生支持ECMA 2022 class相关特性,方便开发者使用新特性进行开发。

Issue: #I8CE0X

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: If3703945a5c085dd0a72ba4d45ca255fdb4e84f3
2023-12-02 19:12:44 +08:00
Zhenyu Pan
ae6965ebdd Fix compatiable API not work
Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I6IS44

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I63229690993e6e894a131b37645f704ca0a0d915
2023-03-02 10:39:33 +08:00
Zhenyu Pan
a0ef666557 Modify byte code version to adapt to new naming rules
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6HG3M

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I77105e29246b1b489506a5e0dd63dee54c7c203e
2023-02-24 17:08:40 +08:00
ctw-ian
d7e59e6ec7 Add two insns to support async generator && for-await-of
Issue:I6EKU1

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I925e8648cf2ca7df353c877d027741a94e5c993f
2023-02-20 17:06:07 +08:00
ctw-ian
d08acee297 Support async function in taskpool
Issue:I6E373

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I881bf9968991c844172ea251fb91c3507d457c04
2023-02-09 21:38:19 +08:00
openharmony_ci
d817f9d2b9
!334 Apply new ins for report reference error
Merge pull request !334 from ctw-ian/add_throw
2023-02-06 03:43:12 +00:00
ctw-ian
06e4f5f1cb Add throwundefinedifholewithname to optimize the original bc
Issue:I6AXND

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: Icc1d1fd45e9742a7bfcab4cb573a825a7d7ea038
2023-01-17 21:48:41 +08:00
ctw-ian
3558f1ec03 Delete deprecated.stlexenv
Issue:I69V3K

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I4c7d248c2ae53f3cf514c5ba9840858d479656ac
2023-01-10 20:16:43 +08:00
ctw-ian
013b2a39cb Support taskpool infrastructure
1. add FunctionKind::CONCURRENT_FUNCTION
2. add a new ins to store lexical env

Issue:I67SPL

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I1dec7efc7772b6a5c909a9d015ed0bb97eb513f0
2023-01-02 16:24:19 +08:00
qiuyu
e5a2216831 Fix typo of isa "poplexenv" description
Fix typo of isa "poplexenv" description

Issue: #I61CS9

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I1f099f66376f4d018459adc258b68db092d420a4
2022-11-15 21:03:37 +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
wengchangcheng
6e3a5cb153 Descriptor: Auto generate opcode when isa changed
Details: Add isa.yaml to inputs

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I1ed9fa81aafb655f736e83c90b6e9d473f87f6ab
2022-09-15 09:22:12 +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
shawn_hu_ls
c7dbe79f10 Switch path name from ark to arkcompiler
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5GE38

Description: Switch path name from ark to arkcompiler

Test: NA

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-07-11 19:53:42 +08:00
openharmony_ci
031d76da4d
!114 ISA/ISAPI minor fixes
Merge pull request !114 from bolshov.maxim/master
2022-03-30 10:58:53 +00:00
openharmony_ci
b6dfccd48d
!118 fix additional opensource issues
Merge pull request !118 from nazarovkonstantin/knazarov-fix-opensource-issues-additional
2022-03-30 07:29:01 +00:00
Nazarov Konstantin
cdb7e3551a issues 240,241
Signed-off-by: Nazarov Konstantin <nazarov.konstantin@huawei.com>
2022-03-29 18:39:57 +03:00
Ilya Trubachev
d89cc90539 codehub issues fix
Signed-off-by: Ilya Trubachev <trubachev.ilya@huawei.com>
2022-03-28 17:20:15 +03:00
Ilya Trubachev
333ccf0f98 copyright update
Signed-off-by: Ilya Trubachev <trubachev.ilya@huawei.com>
2022-03-25 13:17:51 +03:00
Bolshov Maxim
09a85ba246 ISA/ISAPI minor fixes:
* cleanup unexisting bytecode instructions from semantics section
* add ability to forbid ISAPI methods redefinition
* fix verification tag for method_init_obj
* explicitly check ruby version to fail with understandable error
message
* extend array-like group properties with instruction ones instead of
overriding

Signed-off-by: Bolshov Maxim <bolshov.maxim@huawei.com>
2022-03-24 19:06:32 +03:00
shawn_hu_ls
4f55aaa5ff Fix code&scripts static checking warnings
Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2021-09-27 16:22:44 +08:00
Bolshov Maxim
9056b76ebe Remove builtins
Signed-off-by: Bolshov Maxim <bolshov.maxim@huawei.com>
2021-09-08 15:49:44 +03:00
y00576111
0c032663db update runtime_core code
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I9eade652c4a35d0565ef89198f223c63c1cef398
2021-09-08 10:01:07 +08:00
y00576111
a4599e5405 upload runtime_core
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I2509006818624fd3960ef645165fdb1f317d3d5e
2021-09-07 21:51:18 +08:00
wanyanglan
14c9021696 add ark runtime_core
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I2564094cef9c6c41263e37faf9ffbbec14223dc7
2021-09-05 20:53:43 +08:00