Commit Graph

438 Commits

Author SHA1 Message Date
wupengyong
7cd0e3dd23 Reason:1.fix cocos deopt bug 2.enable class static high ir
Description:Reason:1.fix cocos deopt bug 2.enable class static high ir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MR80?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I3e17e0df38d623ed705d380fc99fdfd7f42ad0e7
2023-07-24 21:37:02 +08:00
weng-xi
b1719d8fd8 Optimize the CreateClassWithBuffer instruction of AOT
Optimize the CreateClassWithBuffer instruction of AOT

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KW21
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I42ae8d0516cf4c74a2749ef3d4cae6cb91ec4b2f
2023-07-21 14:56:28 +08:00
王笑佳
2801a5e13c Fix data type PART 1
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LZJR

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-20 16:50:10 +08:00
openharmony_ci
dce64226bc
!4406 THROW_TYPE_ERROR_AND_RETURN Part 3
Merge pull request !4406 from 王笑佳/throwtype3
2023-07-15 08:19:15 +00: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
openharmony_ci
9c7032212e
!4409 The caller of NewRuntimeCallInfo fails to promptly return an exception
Merge pull request !4409 from chenjingxiang/callinfo_return_br
2023-07-14 03:27:58 +00:00
quiet-thought
f596e410db The caller of NewRuntimeCallInfo fails to promptly return an exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7K7L6

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I69a5e2f415a51d7caf5aab5fdf7c2fe1de5da5c4
2023-07-14 10:18:21 +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
openharmony_ci
b0ba8a74b0
!4402 THROW_TYPE_ERROR_AND_RETURN Part 1
Merge pull request !4402 from 王笑佳/jsTaggedCpp
2023-07-10 13:14:32 +00:00
openharmony_ci
d79909dd4a
!4403 THROW_TYPE_ERROR_AND_RETURN Part 2
Merge pull request !4403 from 王笑佳/throwtype2
2023-07-10 12:44:50 +00:00
王笑佳
d38cf79e09 Fix THROW_TYPE_ERROR_AND_RETURN Part 2
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JW58

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-10 14:05:59 +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
DaiHN
835ed2bb26 deregister module through dynamic import
issue: #I77Q59

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I83f5825c2003923a3ad1b5dcc011c350ff470df4
2023-07-09 21:31:21 +08:00
wupengyong
e1426cbfe3 Reason:1.Fix class static hcr bug. 2.Add switch for class static hcr
Description:1.Fix class static hcr bug. 2.Add switch for class static hcr
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JEXX?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1777b9cda53a2b3b5fc86619a4d2c3e89aadb505
2023-07-08 15:10:29 +08:00
openharmony_ci
dd19229a13
!4379 Fix ArrayCreate and JSTaggedValue::ToPropertyKey
Merge pull request !4379 from 王笑佳/returnRange
2023-07-06 10:41:36 +00:00
王笑佳
e16e577f73 Fix ArrayCreate and JSTaggedValue::ToPropertyKey
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7II7K

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-06 10:12:07 +08:00
dingding
1bf062b0c7 Fix AOT async function and Reopen AsyncFunctionLowering Pass
1. Fix SaveFrameToContext() and GeneratorReEnterAot().
2. Reopen AsyncFunctionLowering Pass.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7IEHL

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Ie13a6b1d67f39fccc91455d50af6b293cc679236
2023-07-04 14:42:27 +08:00
openharmony_ci
0db98de96a
!4346 [Bug]: AsyncGeneratorResolve遇到空队列问题
Merge pull request !4346 from 李晨帅/master
2023-07-01 11:11:47 +00:00
yingguofeng@huawei.com
454df79a91 Perf(PGO): performance for pgo
profilecall optimization

Issue: #I7HIA2
Change-Id: Ic662221ecc3dc24aa4633e340ccb5010831d1c91
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-30 22:42:25 +08:00
lichenshuai
a99fcc7f30 [Bug]: AsyncGeneratorResolve遇到空队列问题
在debug模式下,挂在AsyncGeneratorResolve字节码遇到空队列,
按照ECMA规范分析,执行两次next()后,状态应该为completed且队列应该为空。此时,不需要进入对应逻辑。

Issue: #I7HA9B

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I6559bd8d60f78341ee6783d636b6d6fa7fe55391
2023-06-30 10:02:48 +08:00
yingguofeng@huawei.com
fb20da0b8f Feat(Aot): Part4 Load hclass info from ap for aot compiler
Issue: #I7EGRC
Change-Id: I2493cc4f22b5579f28a93433845481febf17effc
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-29 17:52:09 +08:00
openharmony_ci
a2631ad737
!4299 Optimize LocaleCompare for AOT
Merge pull request !4299 from zhangyukun8/locale
2023-06-27 02:52:19 +00:00
王笑佳
310b3ac4f6 函数panda::ecmascript::JSObject::SetElements存在非法内存写入漏洞
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7FRB8

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-26 19:49:40 +08:00
zhangyukun
06c6451611 Optimize LocaleCompare for AOT
1. Add caches for locales
2. Add fastpath for locale string compare
3. Add pgo for bound function
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7F6ZW?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>

Change-Id: I869ec1a41eaaf7098627277a5ec9b3ce7a245dc4
2023-06-26 15:43:44 +08:00
yingguofeng@huawei.com
c85c0e5238 Feat(Aot): PGO hclass dump Inheritance relationship and suppor poly
Issue: #I79QXC
Change-Id: Ia955bc33c78531daccfa5ae5b6ce1c047c3ae8b6
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-17 19:33:10 +08:00
yuanyao
0e2ad00d3c AOT-Optimization Add Math Mod to Number Speculative Pass & Some PGO BugFix
Improve the performance of mod & pgo bugfix & stub bugfix
Issue: I7DBKM

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I3d330c462b1694e2037323adcb719cf67e49dd65
2023-06-14 16:19:30 +08:00
xiongluo
e0a80d811f fix code check and format
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I222befc3ea02049f7f97f932a641753533dd8d52
2023-06-11 16:18:18 +08:00
liu-qiang12
09ee91dec2 add aotfilemanger from vm to context
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV
Change-Id: Idfabd557b8ad5cb79c538f15224d22a8ac800e0f
2023-06-11 16:17:47 +08:00
liu-qiang12
4443a8a95d add listnode and icu
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV
Change-Id: I705e82670483f784d997425c64282e425994849d
2023-06-11 16:17:47 +08:00
liu-qiang12
2cc80d5dd0 add ts module regexp..
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
Change-Id: I0d2ecd305866524b5a47ef9f97427ce25c3d09be
2023-06-11 16:17:47 +08:00
openharmony_ci
855bef103c
!4199 Add class static Hir
Merge pull request !4199 from wpy111/master
2023-06-09 09:09:49 +00:00
wupengyong
5ea192ce03 Reason:Add class static ldobjbyname Hir
Description:Add class static ldobjbyname Hir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7BFOS?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I62c513db97026820ee206cdc194561949fb3e7da
2023-06-09 16:07:48 +08:00
openharmony_ci
b2d545c02a
!4209 Remove Load/StoreElement elementsLength check
Merge pull request !4209 from 孙哲/master
2023-06-08 14:33:33 +00: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
huangtianzhi
be90d85e37 Adding Assembly Interpreter implementation of debugger statement;
remove unreachable implementation; revise NotifyDebuggerStmt method.

Signed-off-by: huangtianzhi <huangtianzhi1@huawei.com>
2023-06-07 17:51:06 +08:00
ginxu
56f3afc091 Add Function Call Timer Tools
1. Support print funcntion call time.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7AH1O
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I9d6680852f7d497d13a127544fdb8331806bd480
2023-06-04 11:12:04 +08:00
openharmony_ci
6c358a7528
!4107 Optimize Fastcall
Merge pull request !4107 from wpy111/master
2023-06-03 13:45:26 +00:00
wupengyong
efc0b12047 Reason:optimize fastcall
Description:optimize fastcall
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78093?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1685c6b1341c82161d18e827f5449f90f7b1b634
2023-06-03 18:42:00 +08:00
yingguofeng@huawei.com
bfc478a38b Feat(Aot): PGO extension supports hclass dump
Issue: #I78U0R
Change-Id: If7079aeb03cc265b68487f4997fc20d35626fe7f
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-01 19:54:22 +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
wupengyong
e0134a4d57 Reason:fix some fastcall bug
Description:fix some fastcall bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I774L6?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ib6f2b02a25a95d42814042c21bc45390f44c6107
2023-05-23 19:44:02 +08:00
openharmony_ci
8405bfc442
!4007 Add fast call and change calling conversion to cc
Merge pull request !4007 from wpy111/master
2023-05-18 12:44:43 +00:00
wupengyong
c0fa165ab0 Reason:add fast call and change calling conversion to cc
Description:add fast call and change calling conversion to cc
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TTCX?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I7c35619d73a4d961799232bc22b78b6513f65e71
2023-05-18 19:23:25 +08:00
hwx1163501
22fe6190c6 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7163U
2023-05-18 17:05:50 +08:00
openharmony_ci
62bc967118
!4054 Fix crash when create Array OOM happend
Merge pull request !4054 from maojunwei/OOMcrash
2023-05-16 11:03:58 +00:00
dov1s
c9dbebb690 Fix crash when create Array OOM happend
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I73AX4?from=project-issue

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I01d0195c18484c2f71ec755e29691c42bc5ff31d
2023-05-15 19:11:29 +08:00
ginxu
2ac472acd9 Support Inline Deopt
1. Add frameStateChain op for inline deopt.
2. Modify the deopt logic to support multiple interpreter frames.
3. Fixed some bugs that occurred when inline was enabled.
4. Support trace inline function tools.
5. Add some testcases.
6. Add some inline condition which some scenarios that might occur inline are filtered.

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6USYJ

Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I30127640fcd150c3c3badf2dd5c805a7b6733c42
2023-05-13 10:46:38 +08:00
dingding
dbb6738ad6 Imporve AOT Debugging Tools
1. Add stress deopt.
2. Add VTable verifier.
3. Tracing BC supports typed path.
4. Add options for several pass.
5. Add options to select compiler methods or skip compiler methods.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TP91

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Iffdd54b5cb34efe93cbec77ea4a9aa2feb8fbcbd
2023-05-09 07:11:57 +08:00
wupengyong
c1aa7ecd82 Reason:add function apply builtins ir
Description:add function apply ir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y5E4?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ie5ade286a56c5237175476a6a0b915558b87c454
2023-04-24 21:03:55 +08:00