Commit Graph

11 Commits

Author SHA1 Message Date
hzzhouzebin
e322adfc46 fix codecheck for shared checking
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I38006a4209957d630f713cc8f4a60783f94845dc
2023-12-24 16:53:19 +08:00
hzzhouzebin
fa9ea682c8 fix code review for shared check
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I352becaec9fecb9cca5fa00d32274e77a03617b3
2023-12-24 15:12:42 +08:00
hzzhouzebin
db88ac8312 Add type checking when update share-obj
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I5144757bc7fd75ba2bbbabe8f05e53ea11764db2
2023-12-21 20:11:20 +08:00
liuzhijie
d2d17933f5 Optimize Function Binds
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8L1W3?from=project-issue
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>

Change-Id: Icb4f95333f8c0f254c54362e1086983f43d0ee01
2023-12-05 11:03:46 +08:00
wupengyong
bb41d2733f Reason:optimize HasOwnProperty
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8EN7A?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ia4fa9925dd89605d69085afa476b8b34f16c5aac
2023-11-13 14:31:55 +08:00
openharmony_ci
c7dbfbdf8d
!4923 Fix Array.prototype.sort part1
Merge pull request !4923 from xliu/fix_sort
2023-09-27 09:22:49 +00:00
Onlynagesha
5c09c7621f builtin.cpp repetitive code cleanup
Merges repetitive code in builtins.cpp by moving X and X.prototype
property list to the corresponding builtins_X.h.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I82Q57

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: Ie5c9704bb9aa03b81a04dd5642815447637839ad
2023-09-26 16:42:23 +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
xiaoweidong@huawei.com
c577fe0819 Opt object hasown
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I829QR?from=project-issue

Change-Id: I1dd8a4e49e46229ab9e8cc5dbd0a587c520b460a
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2023-09-20 20:38:15 +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
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