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
xiongluo
2c14680bc6
Fix the mem leak from js method
...
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-05-25 10:53:36 +08:00
Yuqiang Xian
daf51dae0f
Refactor Heap Region class.
...
1) Get rid of the dependency on "Space";
2) Fix a bug in RegionFlags definition, and tidy it up.
3) Fix the flag check logic to make it support multi-bit test;
4) Clean-up some logic to determine if a region or an object is valid / alive;
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I590Z8
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-05-24 16:28:00 +08:00
openharmony_ci
0b5e0e6aa6
!1395 Add Container Vector
...
Merge pull request !1395 from shisan_forwork/push_vector
2022-05-23 14:57:23 +00:00
shisan_forwork
5adb25b225
Add Container Vector
...
Description
To ensure the high performance of container classes, vector is
provided in ark.
Related issue
#I4XCD9:add container vector
Signed-off-by: shisan_forwork <chengjunxiong@huawei.com >
2022-05-23 20:40:25 +08:00
zhangyukun
9f15b59632
Fix 262 of rsp on x64
...
1. skip builtin frame and asm interpreter entry frame when upframe
2. skip push args when argc is 0
3. check thread exception, rather not ret value
4. deal with fp when entry Execute
5. deal with call class Constructor
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I58I4H?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: I874f1437d5d21a8cf50a8d9ca73d7a92007f1bab
2022-05-23 18:42:48 +08:00
xliu
2b281975ea
Js TypeArray optimization
...
Description
1. Add number check in CanonicalNumericIndexString;
2. modif GetProperty, SetProperty, DeleteProperty,
DefineOwnProperty,GetOwnProperty,HasProperty
3. Add FastPath in TypeArray.
4. Refactor TypeArray ArrayLength, ByteOffset, ByteLength
5. Add test for TypeArray.
Issue:
#I56S75:Js TypeArray optimization
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I68dd973269eb0bab284e7b97e0b8bf93e5aee1a2
2022-05-21 18:15:02 +08:00
wupengyong
7c650ba015
reason:performance optimization
...
description:optimize taggedvalue encode
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55ZVP?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com >
Change-Id: I747a60f5ea7348d3b0cfc041a3b010c52b1517c0
2022-05-21 09:33:44 +08:00