334 Commits

Author SHA1 Message Date
openharmony_ci 0b60497cbb !302 ES262 AOT Support
Merge pull request !302 from Hailiang/master
2022-07-08 08:16:25 +00:00
openharmony_ci 05d4746bfa !330 Precompiled script adaptation M1
Merge pull request !330 from 王家辉/master
2022-07-07 03:15:53 +00:00
wangjiahui d155d43f07 Precompiled script adaptation M1
Signed-off-by: wangjiahui <wangjiahui27@huawei.com>
2022-07-06 20:43:54 +08:00
openharmony_ci fa160d6f65 !320 Fixed skip error: some js cases should be skipped when test262 runs normally
Merge pull request !320 from SivaLee/test262
2022-07-06 03:14:15 +00:00
SivaLee b341538b00 Fixed skip error: some js cases should be skipped when test262 runs normally
Signed-off-by: SivaLee <lisiyuan21@huawei.com>
Change-Id: I946d03e3dc45a1a5d30f83c9f99908d1a2cefe1e
2022-07-06 10:29:23 +08:00
Hailiang Hu 6b4cee6ca8 ES262 AOT Support
1. Add AOT option to enable aot test, AOT tool location path.
2. Add AOT compiler command, and AOT running command.
3. Add command print when erros occurred, so as to debug.

Issue: https://gitee.com/openharmony/ark_ts2abc/issues/I5BSTE

Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I296bf96a8ed3be0f3e1e09ff1e8381113524ade5
2022-07-05 21:43:08 +08:00
openharmony_ci 62d4ec75e3 !322 Add string.replaceAll and regexp namegroups 262test
Merge pull request !322 from zhangyouyou/master
2022-07-05 02:49:46 +00:00
zhangyouyou 45f4c2d87e Add string.replaceAll and regexp namegroups 262test
issue:https://gitee.com/openharmony/ark_ts2abc/issues/I5FATW

Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2022-07-04 17:17:09 +08:00
openharmony_ci dac85412ee !318 Fix ts2abc's codeCheck of G.INC.11-CPP
Merge pull request !318 from hufeng/fix_codeCheck
2022-07-04 08:01:22 +00:00
hufeng 083dd37d6f Fix ts2abc's codeCheck of G.INC.11-CPP
Description:Use Namespace covering global API e.g.GenerateProgram
            to avoid pollute global environment.

Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: I48c70552305d886699927eb6d35bebec54c7e3be
2022-07-04 11:47:42 +08:00
openharmony_ci 11be04f800 !316 Add original es2panda to ets_frontend
Merge pull request !316 from zhuoli72/es2panda_update
2022-07-01 07:00:26 +00:00
openharmony_ci 96b3e8eed4 !315 Update ts2panda's package-lock.json
Merge pull request !315 from hufeng/update_packagelock
2022-07-01 04:39:36 +00:00
openharmony_ci c2ec957884 !317 Fix build warnings introduced by previous commit
Merge pull request !317 from qiuyu/master
2022-06-30 14:28:31 +00:00
qiuyu 006cd22f14 Fix build warnings lack of namespace and unused parameters
Fix build warnings introduced by previous commit "Store type info as pairs of instruction orders and types"

1. Fix lack of namespace
2. Fix unused parameters

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I944cc28adff056b90ed1f5b62b5c2f8a023d9553
2022-06-30 21:34:28 +08:00
openharmony_ci 3df3ac47f3 !314 Add ECMA2021 Object values interface tests
Merge pull request !314 from shisan_forwork/master
2022-06-29 02:47:55 +00:00
shisan_forwork d1f2228d7e Add ECMA2021 Object values interface tests
Description
	Add related test cases
	ECMA chapter 20.1.2.22 Object.values(O)
Related issues
	#I5DQ38:ECMA2021 Object values interface implementation

Signed-off-by: shisan_forwork <chengjunxiong@huawei.com>
2022-06-29 09:33:51 +08:00
hufeng 3fde3739de Update ts2panda's package-lock.json
Description: Update ts2panda's package-lock.json by latest 'repo.huaweicloud.com/npm'

Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: Ie437c412014aeb025c4c46260ddf6d1570542abd
2022-06-28 21:35:27 +08:00
zhuoli72 c3a2e0b34e Add original es2panda compiler based on 05ddb192 of master
Change-Id: I26f663c67b42f6549c7777a88c8bf00bd845fc96
Signed-off-by: zhuoli72 <pengzhuoli@huawei.com>
2022-06-28 21:29:11 +08:00
openharmony_ci 2769efc3c3 !309 Store type info as pairs of instruction orders and types
Merge pull request !309 from qiuyu/master
2022-06-28 02:07:27 +00:00
qiuyu 2d8f903fac Store type info as pairs of instruction orders and types
Change AnnotationElement name from typeOfVreg to _TypeOfInstruction.

Add the pass TypeAdapter. This pass can convert the typeinfo of the form of the pairs of virtual registers and types to the form of pairs of instruction orders and types.

Add option --enable-typeinfo with which the pass TypeAdapter is enabled. Should be deleted when ark_js_runtime adaption is ready.

Add option --display-typeinfo with which the result typeinfo will be printed.

Issue: #I5E22F

Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: I3c87b579d4c58cc3713263fe1e1e1d2ff953c58d
2022-06-28 00:19:11 +08:00
openharmony_ci 09a9dd4bdc !310 Fix abnormal watch mode in IDE
Merge pull request !310 from Gavin1012/master
2022-06-27 08:28:35 +00:00
Gavin1012 be221ea6ec Fix abnormal watch mode in IDE <wanggang203@huawei.com>
Signed-off-by: Gavin1012 <wanggang203@huawei.com>
Change-Id: I5d0de9f9e34ac2518945a8c843aa3e07d2b82b4d
2022-06-25 16:17:35 +08:00
openharmony_ci bf718f3e5f !308 Open 262 use case of Promise and AggregateError
Merge pull request !308 from 史凯/master
2022-06-21 09:40:01 +00:00
shikai-123 e4923c432a Open 262 use case of Promise and AggregateError
Add relevant use cases in test2021

issues: https://gitee.com/openharmony/ark_ts2abc/issues/I5DBZV

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-06-21 16:00:34 +08:00
openharmony_ci 789e5ea7ea !306 Fix incorrect column number of CallExpression
Merge pull request !306 from ctw-ian/ctw_fixcol
2022-06-20 09:37:10 +00:00
openharmony_ci 4503ef63c5 !305 Fix the defect detected by static analysis tool
Merge pull request !305 from hufeng/fix_defect
2022-06-17 07:10:56 +00:00
ctw e8cce0e6f8 Fix incorrect column number of CallExpression
Fix incorrect column number when the callee of CallExpression is
MemberAccessExpression

Signed-off-by: ctw <chentingwei2@huawei.com>
Change-Id: I7d9b190a4e1786169b5700459825ec045823122f
2022-06-17 14:32:24 +08:00
hufeng 0234cc282d Fix the defect detected by static analysis tool
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: Idc1d04ff9125e85501740b18310a804792f1180a
2022-06-16 17:08:58 +08:00
openharmony_ci 1603ebf150 !298 add string.padStart/padEnd/trimLeft/trimRight/matchAll 262test
Merge pull request !298 from zhangyouyou/master
2022-06-15 10:43:06 +00:00
zhangyouyou f56fab4263 https://gitee.com/openharmony/ark_js_runtime/issues/I5BKUG
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2022-06-14 16:14:12 +08:00
openharmony_ci 149ee80428 !269 ark test262 测试用例套 支持windows
Merge pull request !269 from SivaLee/test262
2022-06-14 03:53:53 +00:00
openharmony_ci 721569a1b0 !301 Fix incorrect column number of MemberAccessExpression in debug mode
Merge pull request !301 from ctw-ian/fix_column
2022-06-11 09:21:41 +00:00
ctw 23f71b830d fix incorrect column number of MemberAccessExpression in debug mode
Signed-off-by: ctw <chentingwei2@huawei.com>
Change-Id: I6543bd3ee6108ed4e74873b0a5ae9a6aab03981f
2022-06-11 11:09:02 +08:00
openharmony_ci fbc0f75d50 !293 Modificationg of adaptive building option for cjs
Merge pull request !293 from DaiHN/cjs
2022-06-09 12:51:19 +00:00
SivaLee 7f3f6d26ce add ark test262 for windows
Signed-off-by: SivaLee <lisiyuan21@huawei.com>
Change-Id: Ibc12c7d32d1c67c4c8349f15b9ed908c5a564a6b
2022-06-08 10:44:39 +08:00
DaiH e3d4e67c56 Modificationg of adaptive building option for cjs
---------------------------------------------------
Modificationg of adaptive building option for cjs
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5590V

Signed-off-by: DaiH <daihuina1@huawei.com>
Change-Id: I56b637b089250487a74ae321e70c24ba32985e40
2022-06-07 21:02:36 +08:00
openharmony_ci f163953814 !291 Modify the configuration file of atomics test case
Merge pull request !291 from jiangkai43/master
2022-06-06 09:49:14 +00:00
jiangkai43 d953657c78 Merge branch 'master' of gitee.com:openharmony/ark_ts2abc into master 2022-06-06 06:13:46 +00:00
openharmony_ci 2d2e7478ec !233 Support compiling commonjs module
Merge pull request !233 from hufeng/master
2022-06-06 05:10:43 +00:00
openharmony_ci 123755586a !290 Open 262 test cases for WeakRef and FinalizationRegistry interfaces
Merge pull request !290 from 小马奔腾/master
2022-06-06 04:20:10 +00:00
jiangkai43 a0a88796a2 Modify the configuration file of atomics test case
Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
2022-06-06 10:50:50 +08:00
xdmal f6c7202864 Open 262 test cases for WeakRef and FinalizationRegistry interfaces
Open 262 test cases for WeakRef and FinalizationRegistry interfaces

issue:https://gitee.com/openharmony/ark_ts2abc/issues/I5ARLU

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-06-06 09:58:48 +08:00
openharmony_ci e432dd2a74 !289 add Proxy test262
Merge pull request !289 from changcheng/add_proxy_testcases
2022-06-02 10:21:17 +00:00
wengchangcheng cb183dfdf0 Descriptor: add Proxy test262
details: add some testcases in es2015_tests.txt
issue: https://gitee.com/openharmony/ark_ts2abc/issues/I5AKYF

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5e005092e8af88d5a938766a4180819c3d876f7d
2022-06-02 16:44:17 +08:00
openharmony_ci 40f3f7a03a !282 Revise readme & fix add globalVariable in moduleScope
Merge pull request !282 from hufeng/some_fixs
2022-06-02 08:19:58 +00:00
hufeng 5b94e30ead revise README
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: Ia44a1c7f4cd07843270a54d25a917f8b2296ba24
2022-06-02 15:11:00 +08:00
hufeng 78b90be9b7 Support compiling commonjs module
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: I8d1499161e66378e84dc4fd3fa594e975466ad73
2022-06-02 01:08:37 +08:00
hufeng e356a582f2 Fix add globalVariable with moduleScope
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: I03b4aab8c709ef85055592082aba0f986f30bebc
2022-05-31 15:01:46 +08:00
hufeng 0458328bbb Revise readme & config
Signed-off-by: hufeng <hufeng20@huawei.com>
Change-Id: I4094e5b2cd00d0139a57ba00cab27666fe8f55d2
2022-05-31 14:51:03 +08:00
openharmony_ci 79aedcb184 !232 fix ut test
Merge pull request !232 from zrg/fix_ut_test
2022-05-31 03:39:28 +00:00