10 Commits

Author SHA1 Message Date
fangting
cdbfa4340e optimize compiler
Issue:#IALVU8
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-27 11:02:23 +08:00
hecunmao
312def7990 1.Bug In Array.sort,2.JSTaggedValue::ToLength may has Exception
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA55YQ

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I24a98058d06d1cddc6e6e29e7210620f67fdf768
2024-06-13 14:51:39 +08:00
jiangmengyang
90171f4948 构造函数递归Set导致断言失败 bugfix
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9GDI0

Signed-off-by: jiangmengyang <jiangmengyang3@huawei.com>
Change-Id: I07fb6e19de0719658181ba3f75b99d261c85e716
2024-04-15 19:31:56 +08:00
zhangyukun8
cba971f0e7 Impl for-of and for-in HIR lowering
1.Inline getnextpropname HIR of for-in
2.profile iterator type of for-of
3.Inline getiterator and next(call) of for-of
4.Update detector when set prototype

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I89SMQ?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib18d8b9529c41ec435d5d2d97839d82c389267b6
2023-10-26 15:40:03 +08:00
openharmony_ci
c29332c1d9 !1833 fix fuzztest errro and add new fuzztest
Merge pull request !1833 from zhaozhibo/master

Change-Id: I1e83c46e25d0a7c342e5c8e7ca5ff61c745b7582
2022-07-25 08:49:51 +08:00
xliu
9da4c63884 Object Entries and Array Iterator optimization
1. Optimize the enumerableownpropertynames interface by adding cache;
2. Remove the number to string conversion of array iterator;
3. Share hclass of iterator result;
4. Share the return result of closeiterator;
5. Fix EnumerableOwnNames bugs.
6. Fix Array IteratorNext bugs.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5G288

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ie03278f0afed3cf7eb967dd92eac13c2fc0eeb4e
2022-07-11 19:38:17 +08:00
xliu
3669288c00 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
zhaozhibo
cc222126ad fix codeDex warning.
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-14 10:56:51 +08:00
wengchangcheng
9a907ba3c3 optimize primitive type ACCESSORS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-01-25 18:05:12 +08:00
wanyanglan
86cfe52253 add ark js_runtime
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00