Commit Graph

6761 Commits

Author SHA1 Message Date
openharmony_ci
63a992e10d
!4657 Fix function apply ir bug
Merge pull request !4657 from wpy111/master
2023-08-26 09:34:01 +00:00
openharmony_ci
24c7bffc31
!4684 运行ABC文件过程中,函数panda::ecmascript::EcmaString::FlattenNoGC存在空指针异常拒绝服务漏洞
Merge pull request !4684 from 任堂宇/master
2023-08-26 09:12:18 +00:00
rentangyu
d49eac3009 运行ABC文件过程中,函数panda::ecmascript::EcmaString::FlattenNoGC存在空指针异常拒绝服务漏洞
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VZER

Signed-off-by: rentangyu <rentangyu@huawei.com>
2023-08-26 11:37:27 +08:00
openharmony_ci
5c1352f2cf
!4674 Inline Distinguishes Between Setter And Getter
Merge pull request !4674 from 许杰/accesor
2023-08-25 10:41:35 +00:00
openharmony_ci
84a2517173
!4675 Support Dropframe for Cases of Exception and Async
Merge pull request !4675 from 张博虓/bugfix_exception
2023-08-25 09:59:11 +00:00
openharmony_ci
dd771f6f1e
!4670 Add ComputeElementCapacityHighGrowth
Merge pull request !4670 from maojunwei/array_opt
2023-08-25 09:40:30 +00:00
openharmony_ci
9e027c99cb
!4677 修复Array.prototype.[last]indexOf在Stable路径的漏洞
Merge pull request !4677 from Onlynagesha/dev-builtin-indexof-bugfix
2023-08-25 09:38:42 +00:00
openharmony_ci
6d78558f8d
!4555 [Bug]: 修改Array对象的原型__proto__,某些场景下arr[index]和arr.at(index)值不一致
Merge pull request !4555 from 吴文璐/for_I7O616
2023-08-25 09:29:59 +00:00
ginxu
e393e2bbd0 Inline Distinguishes Between Setter And Getter
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VPA9
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I0f0dfdfe37809567929034e16a468d7d3556c2d3
2023-08-25 17:23:39 +08:00
张博虓
1f691204ba Support Dropframe for Cases of Exception and Async
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VPQA

Signed-off-by: 张博虓 <305339823@qq.com>
Change-Id: I6254487a3f306cde644ac0efa1d37ae8e8ba8363
2023-08-25 16:34:24 +08:00
maojunwei
1bfe8ae21b Add ComputeElementCapacityHighGrowth
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VCIP

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I2196d72cf8d7a6fbef481321e7cff562b778c16a
2023-08-25 16:10:00 +08:00
Onlynagesha
200be9ea04 Bugfix in stable path of Array.prototype.[last]indexOf
Fixes a bug in the stable path of Array.prototype.indexOf and
Array.prototype.lastIndexOf where fromIndex is an Object with valueOf
and toString methods that have side effects to current array.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VQSP

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: I0bb8186018a8ccb715b13a7b92c925f35799be08
2023-08-25 15:54:30 +08:00
wuwenlu
36af307871 修改Array对象的原型__proto__,某些场景下arr[index]和arr.at(index)值不一致
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-25 00:39:31 -07:00
openharmony_ci
2f63cdec27
!4606 CreateArrayWithBuffer Optimization Calendar Bugfix
Merge pull request !4606 from 吴璋达/arraybug
2023-08-25 06:19:28 +00:00
openharmony_ci
7759c67a61
!4636 AOT supports typedarray types collected by PGO
Merge pull request !4636 from weng-xi/pgo_typed_array
2023-08-25 06:13:01 +00:00
weng-xi
3deaf264bc AOT supports typedarray types collected by PGO
1. Refactor pgo_type_infer using the strategy pattern.
2. Leverage typed array information collected by pgo, allowing JS files to enter the fast path for ldobjbyvalue.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7U02G
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I8ee048fb72c2743f3cdf832e509bebf1cc0c700c
2023-08-25 11:56:11 +08:00
wupengyong
f35bc1221e Reason:Fix function apply ir bug
Description:Fix function apply ir bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V5S4?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ice873828c23f995f2b51f9b23ea1a7aa5baf65c6
2023-08-25 11:49:46 +08:00
wu_zhang_da
4e100dc886 CreateArrayWithBuffer Optimization Calendar Bugfix
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7RPVE

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I390fcd000e5aaf3e9cc6e2aafbdeefc0a9e9998f
2023-08-25 11:40:35 +08:00
openharmony_ci
a3c8b5caab
!4662 Optimizes clear/Values/Entries/Keys of JSMap/JSSet with CIR
Merge pull request !4662 from xiaoweidong/map_set_clear
2023-08-25 03:26:37 +00:00
openharmony_ci
c2c8ffeea3
!4655 Optimize Array.sort for aot
Merge pull request !4655 from zhangyukun8/master
2023-08-25 02:40:52 +00:00
openharmony_ci
b5c13a39d4
!4660 fix some app bugger
Merge pull request !4660 from linxiang8/master
2023-08-25 01:40:02 +00:00
xiaoweidong@huawei.com
ec9d732c5d Optimizes clear/Values/Entries/Keys of JSMap/JSSet with CIR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7U8SD?from=project-issue

Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2023-08-25 09:25:32 +08:00
openharmony_ci
4663c266a8
!4679 Modifying Code Alarms
Merge pull request !4679 from 韩靖/master
2023-08-25 01:10:59 +00:00
openharmony_ci
3ff5b9aa9e
!4672 Json parse utf16 bugfix
Merge pull request !4672 from lukai/jsonparse
2023-08-24 14:02:25 +00:00
openharmony_ci
4c54a7e95f
!4668 CpuProfiler give up get function info when function hclass is nullptr
Merge pull request !4668 from suchongwei/master
2023-08-24 13:58:20 +00:00
linxiang8
0abec3d265 Fix some app bugger
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V5XA
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: I4b3d82d4a20e1a6d7366191c6656ec24d4c1bc85
2023-08-24 21:10:48 +08:00
hwx1163501
ba488524b3 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VR8O
2023-08-24 20:25:18 +08:00
zhangyukun8
c812ecda91 Optimize Array.sort for aot
Add cache for number toString
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UYXS?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ic6008335777e9844ecc59ec005b876363b3792da
2023-08-24 20:17:09 +08:00
openharmony_ci
5ef32ab5ba
!4652 [Bug]: 修复回栈无法SuspendVM的情况下导致栈不对挂在StepArkManagedNativeFrame的问题
Merge pull request !4652 from 李晨帅/newTargetNotHeapIR
2023-08-24 08:41:02 +00:00
openharmony_ci
2a0e28eb92
!4665 Bugfix on TryToElementsIndex when key is String and key is larger than int32 maximum
Merge pull request !4665 from chenjingxiang/try_to_elements_index
2023-08-24 07:47:38 +00:00
openharmony_ci
77ddf876fe
!4648 Bugfix on StoreICByName when set arr.length property and transform to dictionary mode
Merge pull request !4648 from chenjingxiang/storeicbyname_dictionary_mode_br
2023-08-24 07:39:29 +00:00
lukai
153010d449 Bugfix:utf16 json parse
In some special scenes, json parse will lead to crash
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VMR0?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I2e6dfdf7813fb663faa72e57a0a302c77000444e
2023-08-24 14:47:52 +08:00
quiet-thought
3bf2319356 Bugfix on TryToElementsIndex when key is String and key is larger than int32 maximum
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VDGH

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I62100d9b5d7461e3b757071ad064d92b3d6ddacd
2023-08-24 14:46:00 +08:00
openharmony_ci
fae6d86a41
!4658 Change the full mark trigger time and adjust the overshoot size for full mark
Merge pull request !4658 from xiongluo/mark_opt
2023-08-24 03:50:31 +00:00
openharmony_ci
8683b8c25f
!4621 支持typedArray类型profile
Merge pull request !4621 from lukai/typedArrayProfile
2023-08-23 12:36:05 +00:00
openharmony_ci
fcecc1b796
!4666 EcmaString::Concat bug fix
Merge pull request !4666 from XinweiCai/master
2023-08-23 10:35:46 +00:00
scw
fe3a1a5eed CpuProfiler give up get function info when function hclass is nullptr
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VFVQ

Signed-off-by: scw <suchongwei@huawei.com>
2023-08-23 18:09:33 +08:00
xwcai98
bc6dfeff11 EcmaString::Concat bug fix
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VF5X

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: I401abcd5a477c61911b9af04c3da80679f2f692b
2023-08-23 17:52:43 +08:00
openharmony_ci
709dcbfb2f
!4663 optimize string-related function
Merge pull request !4663 from XinweiCai/opt_string
2023-08-23 09:00:05 +00:00
lichenshuai
3e76bdd405 [Bug]: 修复回栈无法SuspendVM的情况下导致栈不对挂在StepArkManagedNativeFrame的问题
对于取地址不合法的情况,提前判断并返回false。

Issue: #I7UQGV

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Iadf7d1fa84c7e6f3b6766f5fc8acf706f116a9c3
2023-08-23 15:12:18 +08:00
openharmony_ci
1a2e7ecfbe
!4645 支持Builtins escape & unescape 函数
Merge pull request !4645 from 查维/master
2023-08-23 06:40:38 +00:00
hwx1163501
47d704f25f Optimize string-related function
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V3ZK

Signed-off-by: xwcai98 <xwcai98@gmail.com>
Change-Id: Iab38c79b7cfc49a4d02e03226f2bf8634ff8b1a3
2023-08-23 11:14:22 +08:00
zha.wei
5cfca6aa70 description:修改全局变量命名不规范问题
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-23 09:59:05 +08:00
openharmony_ci
e7bb152f0c
!4654 Modifying Code Alarms
Merge pull request !4654 from 韩靖/master
2023-08-22 12:51:03 +00:00
xiongluo
0239e946ab change the full mark trigger time
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I1eabdaaa2d4c487fa33bcf978fad17279c9dbdd2
2023-08-22 19:12:50 +08:00
openharmony_ci
3fcea7ef39
!4625 modify MAX_HUGE_OBJECT_CAPACITY
Merge pull request !4625 from maojunwei/tmp2
2023-08-22 08:29:28 +00:00
hwx1163501
4126850dc2 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V2H2
2023-08-22 15:27:03 +08:00
openharmony_ci
c2214d0e5f
!4612 Optimize aot stackoverflow
Merge pull request !4612 from wpy111/master
2023-08-22 06:38:41 +00:00
openharmony_ci
f367dcb23a
!4651 修复Mac环境下js_stable_array.cpp的编译问题
Merge pull request !4651 from Onlynagesha/dev-builtin-2
2023-08-22 02:54:35 +00:00
Onlynagesha
208d39f709 Bugfix: Compilation issue in js_stable_array.cpp
Fixes a compilation bug on Mac platform.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UXUJ

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: Ia5c1bd70a6e36b1e224b7524048c629510d95857
2023-08-22 09:57:37 +08:00