fangting
cdbfa4340e
optimize compiler
...
Issue:#IALVU8
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-27 11:02:23 +08:00
openharmony_ci
a1db110f37
!8419 黄蓝区不一致:“回退五大项整改遗漏”
...
Merge pull request !8419 from 杨云飞/master
2024-08-02 05:33:27 +00:00
Andrey Efremov
d8cf9a50f7
Optimize ArkJS VM build time
...
Issue: https://gitee.com/open_harmony/dashboard?issue_id=IACDZP
Change-Id: I729c3a2741cb2571d6f7184b2726e5f06eca802a
Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
2024-07-30 16:26:35 +08:00
杨云飞
d5291f4a8d
黄蓝区不一致:“回退五大项整改遗漏接口"
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFERE
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-07-30 14:49:10 +08:00
hecunmao
d2934063f9
Revert PR:7333,7083
...
TypedArray.findlast performance deteriorates by more than 80%
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAFZGY
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Ie016f7a787c001a7224e54234f5b82d6dd974a19
2024-07-28 15:37:42 +08:00
liujia178
ba82665e8c
Fix array-length.js and typedarray-construct-by-array-like.js
...
Signed-off-by: liujia178 <liujia178@huawei.com>
2024-07-01 18:04:54 +08:00
luobinghao
417135780d
[feature]:array builtins inline
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA3Z86
Change-Id: I7cdc106d42d9a7f72c65c11b0bff8c554d52ea63
Signed-off-by: luobinghao <luobinghao@huawei.com>
2024-06-21 09:14:59 +08:00
openharmony_ci
55180467a3
!7564 五大项整改:JSArray::SetCapacity();
...
Merge pull request !7564 from 杨云飞/master
2024-05-31 08:52:08 +00:00
yangxiaoshuai2022
8bf9f4619e
fix warning of uninitialized class method
...
Signed-off-by: yangxiaoshuai2022 <yangxiaoshuai@huawei.com>
2024-05-29 21:27:50 +08:00
杨云飞
7912d55c91
五大项整改:JSArray::SetCapacity();
...
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-05-28 16:32:03 +08:00
shilei
b68c46bbfc
optimize create array with length
...
Signed-off-by: shilei <shilei91@huawei.com>
Change-Id: I4d0960710fa1cdbd7d55ab3df6b0bd0cdcd3bb9a
2024-05-05 09:20:16 +00:00
openharmony_ci
f77b8e107c
!6834 array.sort性能提升
...
Merge pull request !6834 from liujia178/array_sort_20240409
2024-04-19 08:32:19 +00:00
YuliCheng
89bcffc17d
Define ECMASCRIPT_ENABLE_ELEMENTSKIND_ALWAY_GENERIC
...
ECMASCRIPT_ENABLE_ELEMENTSKIND_ALWAY_GENERIC 1 => all elementskind generic
Signed-off-by: YuliCheng <chengyuli1@huawei.com>
Change-Id: I5f60cbbf2da31c42825c5148b7bca1db364938c8
2024-04-18 16:03:07 +08:00
liujia178
4a929ced39
Optimizing the performance of array.prototype.sort.
...
Signed-off-by: liujia178 <liujia178@huawei.com>
2024-04-09 20:41:02 +08:00
hzzhouzebin
93b2fdb032
New API for SharedArray
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9D0L7
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I4625ed4531180b4a6db45d65c0ebaa7482a88a83
2024-04-02 07:56:43 +08:00
wengchangcheng
3332c54774
Merge remote-tracking branch 'openharmony/dev_shareheap' into dev_shareheap
...
Change-Id: I0f297a336b2bcd5d4065f99d3de6d02e58cbe036
2024-03-16 23:04:40 +08:00
Gymee
1a26c88329
Support BigInt in Sendable object
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I98ZHH
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ief90140eaf019ff85eb657964b0e8a0e37d5ee68
2024-03-16 11:31:05 +08:00
yaoyuan
84489b5cff
ElementsKind-Part3 Prepare for AOT and switchOn
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9129O
Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: I9c2022042748542fd909043143c31bb3112841b9
2024-02-19 19:18:11 +08:00
hwx1163501
d6ac25842b
异常问题加固part1
...
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8Y3CY
2024-01-30 09:47:06 +08:00
openharmony_ci
720d7527fb
!5892 BugFix: BuiltinsReflect::Set ReturnValue
...
Merge pull request !5892 from 刘家华/master
2024-01-16 12:37:50 +00:00
liujiahua
b2ac00144e
BugFix:BuiltinsReflect::Set returnValue
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8WI5K
Signed-off-by: liujiahua <liujiahua12@huawei.com>
Change-Id: Ia615a51b32c703fd14350a4bbdb11e45e7d8a55c
2024-01-16 16:11:12 +08:00
yanpeng
7b0259b28f
修改JSArray::ArraySetLength处理enumerable、writable等属性
...
Signed-off-by: yanpeng <yanpeng51@huawei.com>
Change-Id: Id179dcea6bbec19547cde786a99b2b2d3c987191
2024-01-16 11:47:30 +08:00
liujiahua
aea785746b
BugFix: BuiltinReflect Code Revert
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8V62S
Signed-off-by: liujiahua <liujiahua12@huawei.com>
Change-Id: Ib7516481d61e459fbd53e80d51a7691558190ae5
2024-01-10 19:44:56 +08:00
liujiahua
13d6540c37
BugFix:Reflect.set返回值与v8保持一致
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8SXHD
Signed-off-by: liujiahua <liujiahua12@huawei.com>
Change-Id: I98d0d0e7699fd8586e678e5cf5df29ee561dd418
2024-01-05 15:19:00 +08:00
openharmony_ci
da286b6f84
!5767 Bugfix on JSArray::Sort when target is unwritable or proxy
...
Merge pull request !5767 from chenjingxiang/unwritable_br
2024-01-04 03:13:52 +00:00
chenjx-huawei
1e3a4c5cc1
Bugfix on JSArray::Sort when target is unwritable or proxy
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8TAPF
Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: If97b4f5bd8567dbaff5dbd6300ee05132bf730b2
2024-01-03 16:47:30 +08:00
hecunmao
bf7906f530
BugFix in Array.prototype.at,where elements.length < arr.length
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8SMEL
Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: Icb74d4e6d8df9ea0dc7d4c3890e7f5a1d4bbe3fb
2024-01-03 11:15:33 +08:00
hzzhouzebin
85f30d1a11
Add UT for shared checking
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8QUU0
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I8ac4ca085e95b066543ead9b52ff894395ce2902
2023-12-25 13:52:06 +08:00
openharmony_ci
dc116a611d
!5450 Object.defineProperty(array, 'length', {writable: false}) array.shift()抛出异常
...
Merge pull request !5450 from yp9522/regress-10782
2023-12-22 08:55:15 +00:00
openharmony_ci
c4bc99f998
!5587 修改JSArray::LengthSetter当值没有改变时,返回成功
...
Merge pull request !5587 from yp9522/regress-1044911
2023-12-22 08:42:20 +00:00
yanpeng
a03e1abcfb
修改Object.defineProperty(v, length...)
...
Signed-off-by: yanpeng <yanpeng51@huawei.com>
Change-Id: If55aac543120c24eeaca0732e549ff19c4eb4592
Signed-off-by: yanpeng <yanpeng51@huawei.com>
2023-12-21 11:28:14 +08:00
openharmony_ci
d639d7517a
!5559 Elementskind - Part 2
...
Merge pull request !5559 from yaoyuan/elementsKind_interpreter_final
2023-12-19 06:35:17 +00:00
yanpeng
250882efa8
修改JSArray::LengthSetter当值没有改变时,返回成功
...
Signed-off-by: yanpeng <yanpeng51@huawei.com>
Change-Id: I5fd6a1b289df276e1d6ee2b43319fe60aa0bc72a
2023-12-19 14:23:34 +08:00
yang-19970325
b869c66f95
Fix sort() problem about jsarray and some container classes
...
Issue:#I8PHUE
Signed-off-by: yang-19970325 <yangyang585@huawei.com>
Change-Id: I2533e4b8e8f564846319d971231067a66fa041bf
2023-12-19 11:31:59 +08:00
yaoyuan
61afc6feb7
ElementsKind-Part2
...
Enable Interpreter ElementsKind but with option as false
ISSUE: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8M1RU
Signed-off-by: yaoyuan <yuanyao14@huawei.com>
Change-Id: Ic2d0d4ecc1a0e08220aa2a2be4ad293ded725f07
2023-12-18 15:57:47 +08:00
杨云飞
8f141e3211
修复flat和flatmap返回数组构造异常的问题。
...
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2023-12-11 08:45:20 +08:00
wupengyong
d864ef2531
Revert "修复了自定义类型继承数组类,flat和flatmap后返回数组构造异常"
...
This reverts commit 5ac305f78afb96a29a46121231fee2f646df1707.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8M22N?from=project-issue
Change-Id: I8c49b73eef9fb1475e73352e40c143da351f1b65
Signed-off-by: wupengyong <wupengyong@huawei.com>
2023-12-06 09:15:53 +08:00
杨云飞
5ac305f78a
修复了自定义类型继承数组类,flat和flatmap后返回数组构造异常
...
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2023-11-29 19:54:59 +08:00
杨云飞
78d413cbec
回退pr5204
...
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2023-11-27 09:23:31 +08:00
杨云飞
dc3e0d3ccd
修复自定义类型继承数组,flat和flatmap返回数组instanceof特定情况下失败的问题
...
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2023-11-10 09:50:12 +08:00
chenjx-huawei
36cd7a36f0
Bugfix on JSArray.sort when this be modified to string which length is 1
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8DSNS?from=project-issue
Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: Ica13b51672e433f0b13c331a28c76e0607d71255
2023-11-04 17:03:27 +08:00
xliu
d59ac93aeb
Fix Array.prototype.sort
...
1.Modifying the method of obtaining attributes during the sort process
2.Refactoring and integrating redundant array sort related code
3.Add test cases
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83BFY
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ie1b301f3c54e4573d7179dbeaa599425622d6d58
2023-09-26 10:52:55 +08:00
zhangyukun8
c8dbdf9e9a
Deal with the situation that .rodata section and
...
.rodata.cst8 section are at different sides of text secton
1.Dont expand array size when create array
2.Calcute rodata sections at both sides of text section
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7XLUD?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I8fe91f11c61c917aa336e6c7ac4fd64745b2189e
2023-08-31 20:20:06 +08:00
yingguofeng@huawei.com
169977e926
Feat(Aot): PGO ArrayLiteral elemnetKind for array aot opt
...
Issue: #I7NYFW
Change-Id: I59ed5b9c377f2ce6bad2723795309099e015f8df
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-08-09 23:09:42 +08:00
quiet-thought
3fe4f36d1c
[Bug]: Bugfix on Array.slice call ArrayCreate to create dictionary mode array
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7M4TV
Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I01d729837f59ea9197686f3144a688ec1429ae54
2023-07-19 12:12:58 +08:00
g00416891
f536dc7338
Code Review for Builtins Array &BufferArray
...
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I4335220f59764dcd8cf2533f1ee946dfd97c10db
2023-07-18 17:03:12 +08:00
王笑佳
b48718a73a
Fix THROW_TYPE_ERROR_AND_RETURN Part 3
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7K5YC
Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-14 16:16:09 +08:00
maojunwei
ef45c79258
Bugfix:fixed setelements to dictionary mode array
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DJJ2
Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I6ae673f1c5ab2f769f653bd8207969c35d981121
2023-06-19 11:52:15 +08:00
sunzhe23
f525b1d995
Remove Load/StoreElement elementsLength check
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7C16C
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-06-08 18:50:14 +08:00
weng-xi
7fb2c016d7
Add object_fast_operator file
...
1. Add object_fast_operator file as the middle layer.
2. move store/load method from fast_runtime_stubs to object_fast_operator
3. delete fast_runtime_stubs fastGet/SetProperty methods, and move them to object_fast_operator
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6AZSI
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: If4aebd3a0723eda641e214d81838caebf193aac2
2023-01-18 13:52:15 +08:00