openharmony_ci
1491ead037
!1756 Rename Commonjs's Objects
...
Merge pull request !1756 from DaiHN/cjs_mod
2022-07-09 11:00:22 +00:00
openharmony_ci
42ffbdcf93
!1741 Fix TSClassType Sequence Dependency in a file
...
Merge pull request !1741 from dingding/fix_ts_class_type_sequence_dependency
2022-07-09 04:25:01 +00:00
ding
f171205ddc
Fix TSClassType Sequence Dependency in a file
...
Handle linking classType after parsing all types of the file.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5FOM3
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I8c505abdf1ac21964c7ec9a0af0e48c540c749cd
2022-07-09 10:16:01 +08:00
DaiHN
e5342c59e0
Rename Commonjs's Objects
...
-------------------------------
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5G29Y?from=project-issue
1. "JSCjsModule" -> "CjsModule"
"JSCjsRequire" -> "CjsRequire"
"JSCjsExports" -> "CjsExports"
2. builtin_cjs_exports.h -> builtins_cjs_exports.h
builtin_cjs_exports.cpp -> builtins_cjs_exports.cpp
builtin_cjs_require.h -> builtins_cjs_require.h
...
Signed-off-by: DaiHN <daihuina1@huawei.com >
Change-Id: I582467ef8421e03b7eb123d388d66287a79ce97b
2022-07-07 21:09:56 +08:00
wengchangcheng
cd90e396a7
Descriptor: ark hilog refactor
...
details:
1. use hilog in ohos device
2. use panda logger in host
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
g00416891
f11810349e
New EcmaRuntimeCallInfo in stack pointer
...
Signed-off-by: g00416891 <guobingbing3@huawei.com >
Change-Id: I466a4107e6e073ffecea12e6986c112731d2d3bf
2022-07-05 14:54:43 +08:00
huoqingyi
5905b54c34
Fix bugs in ts aot
...
Description:
1.Fix the bug that Circuit IR args gates do not match the function args of the abc file.
2.Add class ArgumentAccessor to handle args gates of Circuit IR.
3.Modify to set the AOT function entry when constpool is being parsed.
4.For functions sharing the same instructions, add a map to collect duplicate infomation. The key of the map is the current method and the value is the first method with the same nstructions to be translated.
Issue:
https://gitee.com/openharmony/ark_js_runtime/issues/I5DA6V
Change-Id: I08e48444eb22c4fc2841e1cdae44b90286de84ac
Signed-off-by: huoqingyi <huoqingyi@huawei.com >
2022-07-04 16:19:11 +08:00
openharmony_ci
81dee5abc8
!1672 fix pending job hitrace
...
Merge pull request !1672 from 苏重威/master
2022-06-30 08:08:38 +00:00
suchongwei
89d1553501
fix pending job hitrace
...
add hitrace point for pending job enque job and execute job
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5BQIX
Signed-off-by: suchongwei <suchongwei@huawei.com >
2022-06-29 18:44:27 +08:00
openharmony_ci
29f2c9a309
!1636 string.replaceAll and regexp groupname
...
Merge pull request !1636 from zhangyouyou/master
2022-06-29 08:33:54 +00:00
zhangyouyou
2f0c89fffe
https://gitee.com/openharmony/ark_js_runtime/issues/I5DDMT
...
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com >
2022-06-29 11:31:55 +08:00
openharmony_ci
a8af2cb301
!1684 Optimizing bigint data structures
...
Merge pull request !1684 from 常佳兴/master
2022-06-28 11:35:42 +00:00
changjiaxing
36aa7dea76
Optimizing bigint data structures
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EIYF?from=project-issue
Signed-off-by: changjiaxing <changjiaxing1@huawei.com >
2022-06-28 18:53:08 +08:00
openharmony_ci
52dcf38c3e
!1669 Resolve Compatibility Issues between TSAOT and ECMA spec
...
Merge pull request !1669 from dingding/aot_compatibility
2022-06-28 08:09:13 +00:00
ding
c80c97bdfa
Resolve Compatibility Issues between TSAOT and ECMA spec
...
1.Add typelowering framework.
2.Add newobjdynrange in typelowering which brings static TS type
info to runtime phase.
3.Serialize and deserialize hclass table with snapshot, fix minor bugs
in snapshot by the way.
4.Add IsFormTSTypeBit in HClass to distinguish hclasses which come from
compile phase.
5.Fix compatibility issues in property operations api and some builints
api.
6.Add 3 compatibility issues test cases.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5E2N9
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I98626e6eea01f4455ec818ba0ad872b3be98b729
2022-06-28 14:43:16 +08:00
lukai
2a7a4390ee
add read-only space
...
realize read-only space to manage read-only object
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5DHA7?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: I94007e4a2ad990ca21a182afa182713cae390a76
2022-06-28 09:15:29 +08:00
shisan_forwork
7fe5fd4847
Add Container LightWeightMap and LightWeightSet
...
Description
To ensure the high performance of container classes, lightweight map
and lightweightset are provided in ark.
Related issues
#I566FV:Add Container LightWeightMap And LightWeightSet
Signed-off-by: shisan_forwork <chengjunxiong@huawei.com >
2022-06-21 10:02:29 +08:00
openharmony_ci
b01688101e
!1576 Upload finally, any and allsettled codes of promise module
...
Merge pull request !1576 from 史凯/master
2022-06-20 03:09:24 +00:00
shikai-123
aa6490370f
Upload promise code
...
Upload finally/any/allSettled module of promise code
issues: https://gitee.com/openharmony/ark_js_runtime/issues/I5BFGU
Signed-off-by: shikai-123 <shikai25@huawei.com >
2022-06-20 09:24:17 +08:00
wengchangcheng
6468341c72
Descriptor: delete some internal unused code
...
details: delete unused code
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5COHE
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I5fe62c58353839d4aac1144fc99e2cf87f4374eb
2022-06-17 23:03:42 +08:00
DaiHN
fe91b96bc1
Remove JSArgument's unused accessor
...
-------------------------------------
Remove JSArgument's unused accessor:set [[ParameterMap]] as undefined
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C71F?from=project-issue
Signed-off-by: DaiHN <daihuina1@huawei.com >
Change-Id: Ic96b8ff2797b76fb63c20d70461680afea992483
2022-06-14 19:44:14 +08:00
openharmony_ci
1f25ba8d11
!1584 Reuse of Object.Create()'s hclass
...
Merge pull request !1584 from DaiHN/require
2022-06-14 06:44:37 +00:00
DaiH
b3d8df8ad7
Reuse of Object.Create()'s hclass
...
-----------------------------------
Reuse of Object.Create()'s hclass
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C3BI?from=project-issue
Signed-off-by: DaiH <daihuina1@huawei.com >
Change-Id: I7c0aa4f4f92dc38dd0a11a106436f9d100b77f32
2022-06-13 22:05:01 +08:00
Yuqiang Xian
ec35dbada7
Merge remote-tracking branch 'oh/master'
2022-06-13 11:49:01 +08:00
xujie
6430e8f31e
TSAOT Exception Handler
...
1. Throw JS exception in tsaot
2. Print bcoffset when occur JS exception
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AMHL
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: I046d76c092a399354ddcdedd859f0c1e622387c2
2022-06-11 16:36:16 +08:00
openharmony_ci
bf2098bbaa
!1503 modify EcmaModule to support CjsModule
...
Merge pull request !1503 from fanshengli/ECMA_CJS
2022-06-09 13:32:37 +00:00
lifansheng
e25d85cd16
modify ecmaModule to support CjsModule
...
Signed-off-by: lifansheng <lifansheng1@huawei.com >
Change-Id: I45e23bfa131ff9eb044d9b0c1f7908f7763bebb7
2022-06-08 17:27:48 +08:00
Yuqiang Xian
9a35d504b2
Merge remote-tracking branch 'oh/master'
2022-06-08 11:21:28 +08:00
DaiH
eee606c334
Support CommonJS's module export function
...
------------------------------------------
1. Support CommonJS's module export function
2. Related test cases
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5590V
Signed-off-by: DaiH <daihuina1@huawei.com >
Change-Id: I18968f6a6b971fbe833d91ef98813964cc8292c9
2022-06-08 10:59:06 +08:00
openharmony_ci
de70962f34
!1491 fix globalEnvConstants initialize bug
...
Merge pull request !1491 from xiongluo/fix_global_const
2022-06-07 01:45:09 +00:00
xiongluo
8c85c0b787
fix globalEnvConstants initialize bug
...
add a member to identify whether the globalEnvConstants is initialized or not.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5AY58
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-06-06 21:20:48 +08:00
openharmony_ci
7048cbf1ef
!1409 Add Containers List And LinkedList
...
Merge pull request !1409 from chenqi/list1
2022-06-05 04:05:38 +00:00
openharmony_ci
da3653f97c
!1487 fix proxy bug
...
Merge pull request !1487 from changcheng/fix_proxy_bug
2022-06-02 09:11:24 +00:00
chenqi
666eb6b8bd
Add Containers List And LinkedList
...
Description
1.To ensure the high performance of container classes, List and LinkedList is provided in ark.
2.modify Copyright 2021->2022.
3.fix containers.
Related issue
#I58XA9:Add Containers List And LinkedList.
Signed-off-by: chenqi <chenqi151@huawei.com >
2022-06-02 17:02:40 +08:00
wengchangcheng
419394270f
Descriptor: fix proxy bug
...
details:SetMethod always is nullptr, set right method: CallJsProxy
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AIBR
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ia0fa992d302b9183a20faafeffbfce31f01cd072
2022-06-02 11:52:38 +08:00
lichenshuai
a724508c73
Delete RSP macro and .S file
...
Rsp is used in future work, therefore .S file should be deleted.
Issue: #I5AGW3
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: Ib1fb140d40d259bc4519fbf547857e5f80e9ee0c
2022-06-02 10:32:46 +08:00
Yuqiang Xian
c492d6a7bc
Merge remote-tracking branch 'oh/master'
2022-06-02 00:31:44 +08:00
openharmony_ci
7e3af05fb1
!1442 Add WeakRef and FinalizationRegistry interfaces
...
Merge pull request !1442 from 小马奔腾/master
2022-06-01 15:07:08 +00:00
xdmal
a4062881d1
Add WeakRef and FinalizationRegistry interfaces
...
Add WeakRef and FinalizationRegistry interfaces
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57W11
Signed-off-by: xdmal <maxiaodong16@huawei.com >
2022-06-01 20:59:20 +08:00
openharmony_ci
c95c2f92a9
!1469 Enable EcmaModule
...
Merge pull request !1469 from fanshengli/ecmaModule
2022-06-01 10:54:03 +00:00
lifansheng
27ff46b4dc
issue:I5A4L3
...
Enable EcmaModule
Signed-off-by: lifansheng <lifansheng1@huawei.com >
Change-Id: I45039d0b80fe156aa2de86b15b141f0bcfd231b5
2022-06-01 16:48:53 +08:00
openharmony_ci
ee370a8ddd
!1439 Refactor TS Types
...
Merge pull request !1439 from dingding/refactor_type
2022-05-31 14:48:03 +00:00
ding
b34b0a3e40
Refactor TS Types
...
1.Re-write union type mechanism, store gt in components.
2.Refactor module tabale, now builtins type table and global infer table set in fixed index of 0 and 1.
3.Integrate some interfaces and logic.
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: Ie709705798b21206f1f272fc5cacafb3781ed940
2022-05-31 20:08:49 +08:00
yaoyuan
cfdfd3e1b9
Description:
...
Reduce redundant code by using predefined global constants instead of creating new constant strings
Move all global constant strings into nonmovable space to improve code efficiency.
Issues: https://gitee.com/openharmony/ark_js_runtime/issues/I588TY
Signed-off-by: yaoyuan <yuanyao14@huawei.com >
Change-Id: I1f92188175c3129c5d8cec72a0396f11ce17c1c7
2022-05-31 17:38:54 +08:00
Yuqiang Xian
aec17d740f
Merge remote-tracking branch 'oh/master'
2022-05-30 12:09:58 +08:00
lichenshuai
a6bc94829b
Fix C Interpreter Bug When Enabling rsp
...
Add case when ECMASCRIPT_ENABLE_ASM_INTERPRETER_RSP_STACK is true and asm-interpreter is false.
Issue: #I59UEB
Signed-off-by: lichenshuai <lichenshuai@huawei.com >
Change-Id: Ib0eb125dfdc7e0cdc34109fe810efd48861d443c
2022-05-30 10:16:13 +08:00
openharmony_ci
9f53c75d71
!1436 Fix Intl object initialization bug
...
Merge pull request !1436 from Pan Zhenyu/master
2022-05-29 09:32:13 +00:00
Zhenyu Pan
58ccd3be56
fix intl object fallbacksymbol accessor initialize bug
...
related issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59F0F
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com >
Change-Id: I111498334b9601bc97708502dc10b4e1485ffda2
2022-05-29 16:53:13 +08:00
yingguofeng@huawei.com
a38b774573
Description: The change of hole tag cause that nullptr to be judged as a heap object
...
Solution: Ensure that all fileds of heap object(includes free object) are not nullptr
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I59PS0?from=project-issue
Change-Id: I062c3a7b9289de9efbb123ec62716fa554d2cb1d
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-05-28 19:18:54 +08:00
openharmony_ci
f5596f01bd
!1405 fix mem leak problem from jsmethod
...
Merge pull request !1405 from xiongluo/mem_leak_from_method
2022-05-25 07:20:21 +00:00