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
openharmony_ci
31ec8e87dd
!1313 Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Merge pull request !1313 from 王犇/master
2022-05-18 11:04:47 +00:00
wangben
0ae45e4df7
Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Signed-off-by: wangben <wangben15@huawei.com >
2022-05-18 18:02:39 +08:00
zhaozhibo
c04fbfa226
Complete JSAPIArrayList test case、fix unittest case bug、fix NewJSAPIArrayList bug、fix codex warnings
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-05-16 20:02:48 +08:00
panzhenyu1
559e56405f
Initialize Accessor filed when new Intl related objects
...
related issue: https://gitee.com/openharmony/ark_js_runtime/issues/I576XP
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com >
Change-Id: Ic59fe278fa2438f46e30a93068a5709b542652aa
2022-05-12 20:19:19 +08:00
guobingbing
d8699d3ab9
modify annotation of InterpretedFrame
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I1deb88080eb89e27252629d8501005d49fe76adf
2022-05-12 10:22:18 +08:00
Yuqiang Xian
d9d281af16
Merge remote-tracking branch 'oh/master'
2022-05-10 19:04:40 +08:00
dingwen
61b6782b65
Snapshot code optimization
...
Description:Snapshot code optimization include modify class name SnapShotSerialize to SnapShotHandler, delete some magic number, add interface to acquire global env and global const object index.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55CQ3
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I338028c5cfd4f992095f2bded2956e33f275bb1b
2022-05-07 09:23:06 +08:00
Yuqiang Xian
adecfbd30b
Merge remote-tracking branch 'oh/master'
2022-05-06 21:25:57 +08:00
openharmony_ci
0f71e35687
!1180 Add object object fromEntries interface
...
Merge pull request !1180 from 王犇/master
2022-05-05 06:47:59 +00:00
wangben
792f6b18a0
Add object object fromEntries interface
...
Signed-off-by: wangben <wangben15@huawei.com >
2022-05-05 14:14:56 +08:00
openharmony_ci
70a73aac4f
!1188 refactor class FrameHandler
...
Merge pull request !1188 from guobingbing/optimize
2022-05-04 07:24:17 +00:00
guobingbing
129ebdbf25
refactor class FrameHandler
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I9f3ff0c04d34a31a34f21da637689eb61d4166f1
2022-05-04 10:36:44 +08:00
Yuqiang Xian
f17e646f69
Merge remote-tracking branch 'oh/master'
2022-04-30 20:09:00 +08:00
Yuqiang Xian
9e88572f35
Add descriptions to concurrent marking status check.
...
Don't use IS_STANDARD_SYSTEM config to switch off concurrent marking.
Fix typos and grammar issues.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55HWI
Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com >
2022-04-30 20:02:19 +08:00