Commit Graph

75 Commits

Author SHA1 Message Date
c00451847
73b688a52d avoid deopt when array store index is out of bounds
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9PFML
Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: Ic297d2b3d673121654e1a1f64eb508522745a0e4
2024-05-25 16:53:18 +08:00
yaochaonan
911a7c1b37 Opt string regexp
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9CRLW?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I5c61752f3be923a4d9c48086613afcff5d0d3512
2024-04-25 16:51:36 +08:00
maojunwei
ba205ac5ee Add NewFromASCIISkippingStringTable
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9G89Q

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Idb15e8fd76cab03c6cce220f44b725e78d3a684b
2024-04-16 17:45:40 +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
hzzhouzebin
904babd2ef Fix concurrency check
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9BTOM
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ie1cd3eaf321f3e499cb364d281e4fc2340d8c328
2024-03-27 11:19:49 +08:00
hzzhouzebin
d946ae422e Support SendableArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I93TZC
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ia026a07e7457a67a47df120c91b85fa372a003a7
2024-03-22 22:50:31 +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
openharmony_ci
48d72fabf3
!6298 slice优化 memcpy和getprotperty
Merge pull request !6298 from 陈涵韬/local
2024-03-12 02:35:02 +00:00
chenhantao
4bffa48bd9 getproperty put in slow path
Signed-off-by: chenhantao <chenhantao3@huawei.com>
Change-Id: I6b040060100dc81d4d3f67c4bf0f6a375e574800
2024-03-12 09:45:28 +08:00
openharmony_ci
c27dce7884
!5963 Fix primitive IC
Merge pull request !5963 from maojunwei/primitiveic
2024-03-05 01:42:44 +00:00
hwx1163501
66d5b205e2 WriteDataProperty没有处理receiver是JSGlobalObject的情况
TransitionForAttributeChanged这个函数对于Attributes发生改变时,对于GlobalObject没有应用新的Attributes

Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I93BBC
2024-02-28 09:12:58 +08:00
dov1s
3d467c4927 Fix primitive IC
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8YC86

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: Ic92b388ec537590ed755780b0d16fe7e47df07f4
2024-02-22 16:30:07 +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
7e6b8095cf modify code alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I90E4E
2024-02-02 09:06:44 +08:00
openharmony_ci
d501cec34f
!6022 slice add fast path
Merge pull request !6022 from 陈涵韬/local
2024-01-30 01:48:20 +00:00
chenhantao
c2dcf34308 slice add fast path
Signed-off-by: chenhantao <chenhantao3@huawei.com>
Change-Id: I448be0425602de0d00d2ab588cb357b7963f69fc
2024-01-29 19:22:11 +08:00
openharmony_ci
8f9dbd6dae
!5991 Fix the deopt of ldobjbyvalue
Merge pull request !5991 from weng-xi/fix_deopt_ldobjbyvalue
2024-01-27 13:40:45 +00:00
杨云飞
3d46f60485 异常未及时返回part3
Signed-off-by: 杨云飞 <yangyunfei19@h-partners.com>
2024-01-26 11:28:00 +08:00
weng-xi
e48a852c8a Fix the deopt of ldobjbyvalue
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8YTR2
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Id693cd0c9ee22ba696d3115e319ac89e6833f90a
2024-01-25 09:57:44 +08:00
linxiang8
aab77c075a fix track-field
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8YDH2
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: I7353d785709222b26308118d4cebf242090cadb4
2024-01-23 20:41:32 +08:00
chenjx-huawei
328e00a90b Bugfix on GlobalDictionary::InvalidatePropertyBox which index is wrong entry param for InvalidateAndReplaceEntry
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8TPM6

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I2c4ad41f64eaed29dd0f4430bb25e652651e24e0
2024-01-06 15:39:40 +08:00
openharmony_ci
edf5dc31ac
!5560 Support shared type
Merge pull request !5560 from Pan Zhenyu/sobj1
2023-12-24 14:43:23 +00:00
lukai
824f3b5965 Fix codecheck
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I9fb803a420f9a47f18e69bd611308b64aaf9eca8
2023-12-24 16:07:42 +08:00
hzzhouzebin
72a7f02bc8 Get tracktype from ObjectOperator and bypass none type checking
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I74d19801bc3415478ee40f2b7c0fcfcab364ec91
2023-12-24 12:43:58 +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
Zhenyu Pan
d2ddf80032 Merge remote-tracking branch 'ets_runtime/master' into test2
Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I93bd738d08e7821daa0d9673e88c6c7415b543e8
2023-12-21 21:30:05 +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
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
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
hwx1163501
6c5268e6c0 reflect.set中获取不到typearray的长度
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8EHLX
2023-11-14 19:37:31 +08:00
yingguofeng@huawei.com
d2ce6cc655 Feat(Aot/PGO/Runtime): Profile Transtion hclass type and aot
Issue: #I872U3
Change-Id: I148cdbc6ac95022cd8dc4a5ad19e526344bb82a3
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-11-06 22:15:31 +08:00
zhangyukun8
46b1b13f09 Refator for-of IR
1. Reuse callbuiltin for for-of

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8BNSB?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ic8c348e04a4039a69dd47d525d6378039741750e
2023-10-30 16:38:42 +08:00
openharmony_ci
95e94e807a
!5021 Impl for-of and for-in HIR lowering
Merge pull request !5021 from zhangyukun8/master
2023-10-26 11:01:29 +00: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
maojunwei
347ab4bd0f bugfix icmiss & typedarray
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I88R6T

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I3b45a50b1086d441acaea4682244d85d9edc0adf
2023-10-19 16:03:34 +08:00
zhangyukun8
6d6bab6309 Avoid Re-enter interpreter of BuiltinString.prototype.replace
1.Add property detector for symbols
2.Avoid Re-enter interpreter for replace and exec functions

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83B0E?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I9c5fb772717e958e0900f7e3a1fb8fa7d11fd8e1
2023-09-25 10:19:15 +08:00
dov1s
b7e6275716 opt stringlength
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I833LK
Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I9f2c44d15e3f92eeefd98d10122be7b9e47af485

Change-Id: Id3d68f01c05f71b8b0611d7a5a3d97198b3cfb11
2023-09-21 19:59:12 +08:00
yingguofeng@huawei.com
7b633520b5 Refactor>(PGO): PGO refactor
Adjust the PGO collection model. Complete type data collection by traversing the ProfileTypeInfo of Method through asynchronous threads

Issue: #I7UVD6
Change-Id: Ieb94892698d7a15d948b762ba057e4c0cf6ca1d2
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-09-17 16:00:55 +08:00
quiet-thought
0de4981edc Bugfix on StoreICByName when set arr.length property and transform to dictionary mode
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UTOA

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I3f30fb5d75a27175d158511a8b4552197697b643
2023-08-21 17:39:03 +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
openharmony_ci
89a9f8292b
!4393 Track Field
Merge pull request !4393 from yingguofeng/master_last
2023-07-12 16:00:35 +00:00
yingguofeng@huawei.com
3b107f900a Feat(Aot): Track Double/Int field for aot compiler
Issue: #I7JI0Z
Change-Id: I24f762d505cf467e86d5a12f3fc78c9ecd4513f1
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-12 21:55:16 +08:00
王笑佳
f2c60fbed0 Fix THROW_TYPE_ERROR_AND_RETURN Part 1
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JU9Q

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-10 10:24:40 +08:00
lichenshuai
d9a0ed1bb7 Fix AccessorData Cast Bug
Deal with PropertyBox before cast to AccessorData.

Issue: #I7FLRW

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ice3c11d8c5ea5f0e12fe5d3686773f6fd6b8da35
2023-06-25 10:19:30 +08:00
dov1s
085c9c5af3 Add CHECK_IS_JSOBJECT in LookupPropertyInlinedProps
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7EXM1?from=project-issue

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: Id0f7175715270d42e009676d979d47a2e28d0e11
2023-06-21 15:41:14 +08:00
yingguofeng@huawei.com
cca4ba8fe4 Feat(PGO): PGO Support profile number type of object field
Issue: #I739C3
Change-Id: Ie57b6174d7b68121e81b72ffd8d71ec1b0d5f80f
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-05-24 15:36:53 +08:00
openharmony_ci
6e713cc220
!4085 Fix String extend Bug
Merge pull request !4085 from 李晨帅/master
2023-05-23 03:19:22 +00:00
lichenshuai
29b851a1fe Fix String extend Bug
According to ECMA-262, when String() is called, NewTarget should be used for StringCreate().

Issue: #I76R3J

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I7c968839e26684e9cdbd28103da354444be2e463
2023-05-22 16:02:21 +08:00
lukai
3a90a2c09a Lazy initialization for some builtins interface
use internal accessor for lazy buitlins. when first time access the builtins object, the accessor will then initialize it.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YBQB?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I8f0d23cdf63b808c8e9e5e69454665fcc620c459
2023-05-12 11:43:22 +08:00