Commit Graph

3920 Commits

Author SHA1 Message Date
openharmony_ci
8d665d51e5
!2620 Skip type inference on newlexenv
Merge pull request !2620 from hongbinj/skip-newlexenv
2022-10-20 09:51:08 +00:00
openharmony_ci
c961c8f7fd
!2661 Add typed not
Merge pull request !2661 from 许杰/typenot
2022-10-20 09:40:45 +00:00
openharmony_ci
3476555bf5
!2670 fix JSONParse fuzztest case failed
Merge pull request !2670 from zhaozhibo/master
2022-10-20 09:40:04 +00:00
openharmony_ci
7f1f54b431
!2672 AOT compiler PGO optimization - Part1 JSNApi Interface
Merge pull request !2672 from yingguofeng/interface
2022-10-20 09:38:54 +00:00
hongbinj
7ed7997d3b Skip type inference on newlexenv
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VLZ4
passed test: unit test, aottest and typeinfer test

Change-Id: Ia7013b2f3347d14e9bc7980b21e6d34ab136940e
Signed-off-by: hongbinj <jinhongbin2@huawei.com>
2022-10-20 17:10:07 +08:00
xujie
6e37921151 Add typed not
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I17c6b136e9af71a90bb667bf832b75fc8f25e8f7
2022-10-20 16:56:38 +08:00
yingguofeng@huawei.com
9cd5595d80 feat/perf(aot/compiler/asm-interpreter): compiler supports PGO optimization
1、The JS runtime counts the number of function calls and records the methodID with fewer calls.
2、The AOT compiler supports filtering the unexpected functions according to the profile file without AOT.

Closes #I5W57I

Change-Id: Ie6f7c9d2132b16a95b4b9ed84cb4ef67332b7604
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-10-20 15:49:28 +08:00
openharmony_ci
5393cb509e
!2657 fix codex and codeCheck warnings
Merge pull request !2657 from zhaozhibo/master
2022-10-20 06:37:19 +00:00
openharmony_ci
b964cc701e
!2650 add UT case for StringHelperTest
Merge pull request !2650 from zhaozhibo/master
2022-10-20 06:36:44 +00:00
zhaozhibo
d76b0a0457 add UT case for StringHelperTest
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-10-20 10:46:45 +08:00
zhaozhibo
88aa03ee5b fix JSONParse fuzztest case failed
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-10-20 10:18:48 +08:00
openharmony_ci
fb6a8479df
!2662 Bugfix for parse literal constpool
Merge pull request !2662 from guobingbing3/optimize
2022-10-20 01:34:04 +00:00
openharmony_ci
e99777702d
!2643 Adapt debugger to run on IOS platform
Merge pull request !2643 from Pan Zhenyu/cross_platform
2022-10-19 12:06:09 +00:00
openharmony_ci
b3e65359f7
!2651 modify some methods in interpreter
Merge pull request !2651 from buzhuyu/master
2022-10-19 10:01:10 +00:00
openharmony_ci
7cf1273eff
!2641 Fix multi constantpool bug and add testcase
Merge pull request !2641 from weng-changcheng/support_multi_constpool
2022-10-19 09:42:38 +00:00
g00416891
04cf52a824 Bugfix for parse literal constpool
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: If8d635bce57ae74058bdd3ba157274ecc2784eb2
2022-10-19 17:37:33 +08:00
ZhenyuPan
5bb1da64ea Adapt debugger to run on IOS platform
Issue:https://gitee.com/openharmony/arkcompiler_toolchain/issues/I5V6DW

Signed-off-by: ZhenyuPan <panzhenyu1@huawei.com>
Change-Id: I2beb5c35bfe9689641d8ee229de63246790d1014
2022-10-19 17:36:46 +08:00
buzhuyu
1af4c502de modify some methods in interpreter
description:modify some methods in interpreter
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5WEX9

Signed-off-by: buzhuyu <buzhuyu@huawei.com>
2022-10-19 16:48:07 +08:00
openharmony_ci
ee0d8ddfaf
!2617 Optimization of bigint algorithm
Merge pull request !2617 from 常佳兴/master
2022-10-19 07:15:34 +00:00
zhaozhibo
544d0dce04 fix codex and codeCheck warnings
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-10-19 15:15:03 +08:00
wengchangcheng
8af2cd1e8b Descriptor: Fix multi constantpool bug and add testcase
Details:
1. Dont modify constpool in Method
2. Modify wrong cast of int16 to int32
3. Re-generate Constantpool when create Method
4. Add testcases of multi-constantpool

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>

Change-Id: Ia76d5235eadba3cc117c3f0567044fd988dbfd1f
2022-10-19 15:00:56 +08:00
openharmony_ci
00733c0752
!2658 Change Relocate log level
Merge pull request !2658 from 许杰/bugfix1019
2022-10-19 05:30:48 +00:00
xujie
92360c5b9f Change Relocate log level
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5WIKV

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Ic8e98529c91c4837a0b0fc5ee29c73663ba25488
2022-10-19 12:59:20 +08:00
openharmony_ci
d12b70dd59
!2647 Serialize/deserialize Aot FuncEntry
Merge pull request !2647 from weng-xi/snapshot_opt
2022-10-19 04:48:48 +00:00
weng-xi
74b83ecb36 Serialize/deserialize Aot FuncEntry
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5WCWJ
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I5e780c0dff1515906bc1649f495b1a63a0742ef5
2022-10-19 09:55:08 +08:00
openharmony_ci
99e26a230c
!2547 Optimize Container Iterator
Merge pull request !2547 from 袁尧/master
2022-10-18 14:08:09 +00:00
openharmony_ci
0c865e8c46
!2646 Aot 262 bugfix and test script modification
Merge pull request !2646 from 许杰/bugfix1018
2022-10-18 12:51:09 +00:00
xujie
7a6c625da5 Aot 262 bugfix and test script modification
1. Aot avoid GetIterator to execute asm interpreter.
2. Modify file path in test script.

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

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Ibdf06e252817844987b7d1450d0d1d06a1ec8030
2022-10-18 20:13:17 +08:00
yuan-yao14
5861fbea35 Optimize Container Iterator
Description:
     All Containers create the same undefined iterator object which can be space and time consuming.
     Create Empty undefined iterator and put it on global constants which can be shared by all containers.
Issue:
     https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UCGK

Signed-off-by: yuan-yao14 <yuanyao14@huawei.com>
Change-Id: I7ffa7b990cac380d48dc4e18348fb265a2c961db
2022-10-18 19:54:14 +08:00
openharmony_ci
b47621d0f5
!2636 refactor JsDebuggerManager
Merge pull request !2636 from Gymee/bugfix
2022-10-18 10:01:17 +00:00
openharmony_ci
2f1efdbfc9
!2642 eliminate typecheck of loop iterator
Merge pull request !2642 from ChunyangWang/loop_iterator_typecheck_eliminating
2022-10-18 07:44:21 +00:00
openharmony_ci
ebc8437b0a
!2640 Dynamic Relocate Undefined function
Merge pull request !2640 from songzhengchao/dyrelocate2
2022-10-18 07:42:55 +00:00
K0u1hw
9aff932a3d description: eliminate typecheck of loop iterator
details: 1. add trusted type propagate to make type of phi trusted.
         2. when some gate is of trusted type, replace typecheck of it with true.
         3. if some guard use true as condition, delete it.

issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5W6P6
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: Idb1903cee63a361935cdd139b824a8a7bc9637c0
2022-10-18 14:59:40 +08:00
openharmony_ci
282d255499
!2602 Add about MST use case of interface in stubs_builder. h
Merge pull request !2602 from 毕虎/master
2022-10-18 06:15:03 +00:00
songzhengchao
986e6171f1 sdk compiler ok
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: I296e6afad64080074b98b4d0b58afce475b2f27c
2022-10-18 14:08:52 +08:00
openharmony_ci
40dd8dd586
!2598 fixed for optimize "load obj from constpool" by CONST_DATA gate
Merge pull request !2598 from getingke/type_lowering_multilevel
2022-10-18 05:11:32 +00:00
Gymee
48a7d3a63c refactor JsDebuggerManager
Issue: #I5W0ES
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I6286bb313415cc1a75156146675904ee75daf488
2022-10-18 11:58:19 +08:00
bi-hu
a9e26f5d0d Add about MST use case of interface in stubs_builder. h
Signed-off-by: bi-hu <bihu@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VBJD
2022-10-18 11:31:28 +08:00
getingke
a7aba16a61 fixed for review comment by wuzhefeng
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I202285a7a77ab3bf3c4da832c05788ab119b29a6
2022-10-18 11:23:23 +08:00
openharmony_ci
094c7f1922
!2644 fix some bugs for string node
Merge pull request !2644 from Riachel/master
2022-10-18 03:07:15 +00:00
getingke
af750f011e fixed for CONST_DATA lowering
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I5873cb8a8bd3325e6ac51829f82447082a383dac
2022-10-18 11:06:44 +08:00
songzhengchao
278fc4cb49 Merge remote-tracking branch 'szc/dyrelocate2'
Change-Id: Ic205c5160734150113f5ec49044417f797bc23b8
2022-10-18 10:44:50 +08:00
songzhengchao
f88307a5ae Dynamic Relocate Undefined function
In the Deoptimize Scenario, LLVM backend will lower llvm llvm.experimental.deoptimize IR to assembly __llvm_deoptimize.
runtime to implement __llvm_deoptimize.

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VX5M

Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: I516a99b9d4bf1ccb36d00736a694844663db5760
2022-10-18 09:38:49 +08:00
openharmony_ci
70f342a545
!2624 fix new isa module bug
Merge pull request !2624 from fanshengli/new_isa_module
2022-10-18 01:38:48 +00:00
openharmony_ci
766c8b5e90
!2638 Fix deopt bug for loops phi,add deopt test case
Merge pull request !2638 from 孙哲/deopt
2022-10-17 12:30:27 +00:00
lifansheng
97f2c9e45d fix new isa module bug
issue: I5VRGK
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I0ced403d2ba89937c8768cb55ff0edafaa17b34a
2022-10-17 20:25:16 +08:00
Riachel
fc31ff3f11 Descriptor: the string type of node's name is ""
details: the string type of node's name is ""
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5W6U8

Signed-off-by: Riachel <caolili14@huawei.com>
2022-10-17 20:08:52 +08:00
sunzhe23
4c59c3fb83 Add deopt test and remove unused phi for frame state
issues: I5W3IH

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-10-17 16:51:26 +08:00
openharmony_ci
eefe4f07e6
!2593 InferLdObjByIndex support TypedArray
Merge pull request !2593 from dingding/infer_ldobjbyindex_typedarray
2022-10-17 06:25:05 +00:00
openharmony_ci
5a3a98b24d
!2632 Optimize generated snapshot file size
Merge pull request !2632 from dingwen/master
2022-10-17 04:51:02 +00:00