Commit Graph

3920 Commits

Author SHA1 Message Date
Gargoyle.h
ff92bd132a
!2567 guard eliminating pass
Merge pull request !2567 from ChunyangWang/guard_eliminating_pass
2022-10-10 06:04:48 +00:00
yaochaonan
d5f76d3bb6 Optimization of Container TreeMap/Treeset Iterator
-------------------------------------------------
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5USUZ?from=project-issue
Using load on demand to accelerate the initialization
-------------------------------------------------

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I0da8ad973925badcd6a20d60eb6e8d2846f1f7a0
2022-10-10 12:45:03 +08:00
K0u1hw
6a8308983f description: guard eliminating pass
details: add guard eliminating pass
         delete guard when add/sub/mul two typetrusted gate
issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UQBE

Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: I6c7b7a181769928d251d1e3cb1173adb447e0054
2022-10-10 11:31:38 +08:00
huangzhenghua
2478af5ec0 JSBenchmark optimize
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UFLE

LinkedList:: removeLast, convertToArray, clone
List:: sort, replaceAllElement, conversToArray
Arraylist:: IncreaseCapacityTo
Vector::  toString

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I48b403c66aab5e917ac4995932183490cf9092d7
2022-10-10 11:28:50 +08:00
孙哲
9d474e34e4
!2559 debug for reloacate
Merge pull request !2559 from songzhengchao/bugfix1008
2022-10-10 01:44:08 +00:00
songzhengchao
c4a5418079 lower guard and sample deopt case for x86-64 ok
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: I8afbd9b0dd7f6ba04d75a85a6df1a058eb990b71
2022-10-10 09:35:48 +08:00
openharmony_ci
e5ac734ba5
!2527 修复worker析构时出现cppcrash
Merge pull request !2527 from 任堂宇/master
2022-10-09 12:06:00 +00:00
openharmony_ci
e7855803d0
!2554 Rename HiTrace to HiTraceChain
Merge pull request !2554 from honghecun/master
2022-10-09 11:43:53 +00:00
openharmony_ci
5ba4989263
!2532 Type Adapt new Literal Mechanism
Merge pull request !2532 from dingding/type_adapt_literal
2022-10-09 09:59:14 +00:00
Gargoyle.h
ba57f2d3b2
!2560 support arm64 deopt entry
Merge pull request !2560 from 孙哲/c_deopt_dev
2022-10-09 09:32:50 +00:00
sunzhe23
ccee6d02bd support arm64 deopt entry
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-10-09 16:53:28 +08:00
Gargoyle.h
d077fe4192
!2564 Support Deoptimization (part-4)
Merge pull request !2564 from Gargoyle.h/wzfmaster-dev
2022-10-09 08:48:44 +00:00
panzhenyu1
eedee40505 Previewer load merged abc from buffer
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UO63

Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
Change-Id: I2cd6212bb94f32537390df143af71d990dcf59d5
2022-10-09 16:05:14 +08:00
wuzhefeng
947f73ac58 Support Deoptimization (part-4)
Add print compiling method name when printing the information of each
phase and remove some redundant code.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: If9ac84c18d55584dba734b0e266ecdec2b37e609
2022-10-09 00:53:21 -07:00
openharmony_ci
12cdb441d4
!2357 Fix Containers
Merge pull request !2357 from chenqi/FixClear
2022-10-09 06:50:55 +00:00
openharmony_ci
3892e006d1
!2548 Bug fix of TaggedArray's dump
Merge pull request !2548 from DaiHN/bugFix0930
2022-10-09 06:41:38 +00:00
xuyong
9c2a06615d Rename HiTrace to HiTraceChain
Signed-off-by: xuyong <xuyong59@huawei.com>
2022-10-09 14:39:27 +08:00
孙哲
3cbe2ff63e
!2562 Delete Guard and framestate
Merge pull request !2562 from 许杰/cdeopt
2022-10-09 03:33:54 +00:00
xujie
11b12ef2e8 Delete Guard and framestate when not fast type
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Ib4740f195209fb503c7b51a60759b55c8b915cf2
2022-10-09 11:25:02 +08:00
Gargoyle.h
ec5a247c59
!2558 lower number/int/double add/sub/mul with constant check
Merge pull request !2558 from ChunyangWang/lower_number_add_or_sub_or_mul_with_constant_check
2022-10-08 14:02:43 +00:00
K0u1hw
1310688ce2 description: lower number/int/double add/sub/mul with constant check
details: lower number/int/double add/sub/mul with constant check
issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UJ3E

Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: Ic03042ae4d3e6ad2d475b147c8f6eaa4b5a74f48
2022-10-08 21:01:03 +08:00
openharmony_ci
3d302a0234
!2552 fix typeinfer supercall bug
Merge pull request !2552 from hongtao/fixsupercall
2022-10-08 12:06:19 +00:00
任堂宇
16e909d508
update ecmascript/ecma_vm.h.
Signed-off-by: 任堂宇 <rentangyu@huawei.com>
2022-10-08 09:47:33 +00:00
孙哲
c96a1aa7c6
!2556 Some bugfix for Deopt
Merge pull request !2556 from 许杰/c_deopt
2022-10-08 09:07:21 +00:00
xujie
c671afb90b Some bugfix for Deopt
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: If778d7ac620230f2f7f4426cd167920c2f2dde47
2022-10-08 17:01:57 +08:00
chenqi
68777898e6 Fix Containers
Description
  1.Initialize the storage structure when clear
  2.Fix Containers bug
Related issue
  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5QXB6

Signed-off-by: chenqi <chenqi151@huawei.com>
2022-10-08 16:16:54 +08:00
孙哲
204d6317a5
!2553 Refactor Circuit IR Properties
Merge pull request !2553 from Gargoyle.h/wzfmaster-dev
2022-10-08 07:46:02 +00:00
任堂宇
81a0fa4da3
update ecmascript/ecma_vm.h.
Signed-off-by: 任堂宇 <rentangyu@huawei.com>
2022-10-08 07:44:27 +00:00
openharmony_ci
fadeb918b1
!2551 Fix test262 error
Merge pull request !2551 from weng-changcheng/bugfix_test262
2022-10-08 07:27:19 +00:00
hongtao
170d965de8 fix typeinfer supercall
Signed-off-by: hongtao <hongtao11@huawei.com>
Change-Id: I65623b949c9ca33cea8b293e50198b70b52a34f0
2022-10-08 15:20:19 +08:00
openharmony_ci
1dd86fa5a9
!2525 Fix compilation issue on Android imported by rebasing
Merge pull request !2525 from Pan Zhenyu/cross_platform
2022-10-08 07:00:31 +00:00
wengchangcheng
49338602da Descriptor: Fix test262 error
Details: Modify format of ASYNCGENERATORREJECT

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ic8d36fc8fc98051de9719af494a42b9cf1a11a97
2022-10-08 14:57:46 +08:00
panzhenyu1
4fba5cac73 Fix compilation issue on Android imported by rebasing
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5TJW9

Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
Change-Id: Ie30a8e93104fc231ab8ad7731b12a2fd85b58d8f
2022-10-08 14:30:08 +08:00
wuzhefeng
2078d36e98 Support Deoptimization (part-3)
Improve the implementation of Gate's properties via static variables.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I3e097f9f9d2a23ee87bbbb2da900f4f750c71bb8
2022-10-07 23:09:22 -07:00
DaiHN
68f0c0c188 Bug fix of TaggedArray's dump
----------------------
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UDV7?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I0730a9ff032cf8a25c19b4ff9503595f6be668ed
2022-10-08 11:05:29 +08:00
wuzhefeng
6f56ef0364 Support Deoptimization (part-2)
Refactor the log system of circuit IR framework and facilitate debugging.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: Id6090d9713d0e4cdfa8169594466b318e3138374
2022-10-07 18:39:28 -07:00
openharmony_ci
f4371933e3
!2546 Fix getter/setter function have no name accessor
Merge pull request !2546 from weng-changcheng/modify_function_kind
2022-10-06 22:33:08 +00:00
wengchangcheng
b8033fac50 Descriptor: Fix getter/setter function have no name accessor
mv getter/setter function kind to accessor range

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I27fd02061533dcc8912150d4fe56198337dddd9e
2022-10-06 23:11:16 +08:00
openharmony_ci
17cee7068a
!2542 fixed bug for aot jsfunction not updated callfield
Merge pull request !2542 from getingke/type_lowering_multilevel
2022-10-04 23:06:50 +00:00
孙哲
e5f32e6a93
!2545 add frame state builder and deoptimzer
Merge pull request !2545 from 孙哲/c_deopt_dev
2022-10-04 00:47:37 +00:00
songzhengchao
67f43f8ec4 add stack map
Signed-off-by: songzhengchao <songzhengchao@huawei.com>
2022-10-04 08:07:59 +08:00
sunzhe23
ac567731db add frame state builder and deoptimzer
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-10-03 13:06:25 +08:00
wuzhefeng
c3bc9a67eb Support Deoptimization (part-1)
Refactor the log system of circuit IR framework and facilitate
debugging.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I0d78bece63d21d89f6d441ae1ef2a0670cf37c65
2022-10-01 20:00:46 -07:00
xujie
b941e5f5b4 deopt graph generator
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I3e57e6f43ff19d50fae722c5b08d45e1aaf194ac
2022-09-30 18:56:37 -07:00
wuzhefeng
1142e5da23 Fixed bug for aot jsfunction not updated callfield
For new ISA, the defined functions should check if they have been
resolved to AOTC code.

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5U0FR?from=project-issue

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I9bd611e51906d1df1cfb0e2208a1fe2ce8f3a058
2022-09-30 18:23:47 -07:00
wuzhefeng
c2390da886 Refactor Compilation Logs
The log during aot compilation is chaos and should be refactored,
besides, the information of call targets inside *.ll files should be add
to facilliate debug process.

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

Change-Id: I828016e73fa20c33dc2f783d6ba577dc2ef52d5e

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I053ea8d92f8821d8d6d2ee767c5ca60b1802fcf1
2022-09-30 17:46:08 -07:00
getingke
0fe08e15a7 fixed bug for aot jsfunction not updated callfield
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5U0FR?from=project-issue

Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I31d93c2942c1256e39bcdf644eba454e9e5118bc
2022-09-30 17:26:28 +08:00
ding
72f10c1c80 Type Adapt new Literal Mechanism
In order to arrange the abc's literal better in merge scene, change the
reference from index to offset. Need some adaption in type system.
Also a little bit of Module literal change.

Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5T93S

Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ib87fb4cc734aeef0c9dd22c25ae04cb8e2f83d0d
2022-09-30 17:17:39 +08:00
openharmony_ci
2d8e88f61d
!2519 Provide an api in the ArkTools to trigger full GC.
Merge pull request !2519 from xiongluo/provide_full_gc_in_ark_too
2022-09-30 08:37:45 +00:00
openharmony_ci
8a48b8cc0a
!2541 Bug fix of DefineClassWithBuffer
Merge pull request !2541 from DaiHN/bugFix0930
2022-09-30 08:19:07 +00:00