Commit Graph

5698 Commits

Author SHA1 Message Date
changjiaxing
0344e301ec Fix issue with bundleName error when loading pages across applications
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I739U7?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Ic9b709e6fc1e09459f50976ace5abdc3d2a17b59
2023-05-15 20:28:16 +08:00
openharmony_ci
e70f55804f
!3991 Supports loading internal so
Merge pull request !3991 from 常佳兴/master
2023-05-15 06:41:55 +00:00
openharmony_ci
27bb531c24
!3738 Execute abc in safe memory
Merge pull request !3738 from xliu/secure_mem
2023-05-15 02:57:54 +00:00
openharmony_ci
abf245cca7
!4016 BugFix RegExp WordBoundary
Merge pull request !4016 from yaoyuan/master
2023-05-15 02:16:40 +00:00
changjiaxing
e8480a67dc Supports loading internal so
issues:https://gitee.com/open_harmony/dashboard?issue_id=I70V8G&from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I6444b2e52104c3aa99b983b38541acecb18840a0
2023-05-15 10:02:51 +08:00
xliu
c5e12681b3 Execute abc in safe memory
add vm load aot file

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I491b784f43ad9d3753d0875842f529de91361fe7
2023-05-14 15:51:22 +08:00
xliu
c363095903 Execute abc in safe memory
modify unique to uint8*

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ib00feb1d4360a9852f92f910466c465f14278003
2023-05-14 15:50:21 +08:00
xliu
9184d0d92c Execute abc in safe memory
Creating safe memory for abc code, execute abc in safe memory

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I0d5797bcec911f3cd5b7dbad439d37357bc42d16
2023-05-14 15:49:27 +08:00
openharmony_ci
3a1b205193
!4049 Fix loading aot files
Merge pull request !4049 from xiongluo/fix_load_aot
2023-05-14 05:16:49 +00:00
xiongluo
84e75f137d bugfix for loadAOTFiles
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ibdb7afe4210431de07a813530636181333cf72c3
2023-05-13 22:05:03 +08:00
openharmony_ci
16780b1d11
!4035 Loop Optimization Framework
Merge pull request !4035 from ChunyangWang/loop_exit
2023-05-13 09:18:41 +00:00
K0u1hw
87cdd57714 Description: Loop Analysis & Loop Peeling
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71TRP
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>

Change-Id: I9e8981b9b87679135edd11206e300411c4459eea
2023-05-13 14:58:49 +08:00
openharmony_ci
63a55d03f3
!3913 [Inline Call part4] Support Inlining Deopt
Merge pull request !3913 from 许杰/inline_part4
2023-05-13 05:19:17 +00: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
openharmony_ci
110322f3a3
!3978 Lazy initialization for some builtins interface in workervm
Merge pull request !3978 from lukai/lazyBuiltins
2023-05-12 13:04:44 +00:00
openharmony_ci
0e3fe2825b
!4006 Enable multi-modules compilation of aot
Merge pull request !4006 from zhangyukun8/master
2023-05-12 10:29:26 +00:00
openharmony_ci
00e6fdccce
!4043 BugFix of async lowering
Merge pull request !4043 from weng-xi/async_fix
2023-05-12 07:24:42 +00:00
openharmony_ci
6cbc0e97bc
!4044 Add logic of prebuilt stub.an for system
Merge pull request !4044 from Gongyuhang/stuban
2023-05-12 07:07:54 +00:00
zhangyukun
f5920a18f8 Enable multi-modules compilation of aot
1.Use local llvm contexts rather than global context
2.Merge multi-modules into an an-file
3.Generate an united stackmap for multi-modules
4.Use CodeSpace to manage code space in multi-modules
5.Use modules as groups to manage function compilation
6.Use only one module to parse the multi-modules an file
7.Disassembler outputs united address log
8.Add max-methods-in-module options
9.Add testcase
10.upgrade version number

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ZMDE?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I80cf845fa57e8ae73c3c858ded0dfe4a46a13eb9
2023-05-12 15:07:00 +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
weng-xi
3227f027c5 BugFix of async lowering
Fixed the same problem as PR3989, which is still cannot generate depend-selector node correctly in some cases

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I728LS
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I4ac4fab5afec7dd18efd9f89c2a2a80b064d5eab
2023-05-12 09:14:09 +08:00
gongyuhang
461e9c9bcc Add logic of prebuilt stub.an for system
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I72AZV
Test: N/A
Signed-off-by: gongyuhang <gongyuhang7@huawei.com>
Change-Id: I6f10aeaa5ca420b9036a96101bde1b3c5a007cf7
2023-05-11 09:22:44 +00:00
openharmony_ci
29269522a8
!4042 bugfix for windows weixin aot compile
Merge pull request !4042 from lijincheng/resolve-import
2023-05-11 07:49:37 +00:00
openharmony_ci
61801e0f2f
!4031 Fix JSTaggedValue::Equal Bug
Merge pull request !4031 from 李晨帅/master
2023-05-11 06:23:36 +00:00
lijincheng
d4a420c22c bugfix for windows weixin aot compile
1.skip throw error in windows when is under aot compile

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

Signed-off-by: lijincheng <lijincheng13@huawei.com>
2023-05-11 13:31:44 +08:00
lichenshuai
1898e054fc Fix JSTaggedValue::Equal Bug
Fix JSTaggedValue::Equal() according to ECMA 262.

Issue: #I71K7H

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ib3b8aff72bf0a6bb9d1b687fd4a9bfba0307f527
2023-05-11 11:01:03 +08:00
openharmony_ci
23e5d73f8f
!4039 Remove FrameState Convert from MIR
Merge pull request !4039 from 孙哲/work
2023-05-11 01:32:41 +00:00
sunzhe23
03d271533f Remove frame state convert
Add frame state convert in llvm ir build and change DeoptCheck to LIR

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

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-05-10 21:01:59 +08:00
openharmony_ci
973c2f2e63
!4032 Adaptation Previewer Test Framework
Merge pull request !4032 from 常佳兴/test
2023-05-10 12:56:41 +00:00
openharmony_ci
eab876c3cc
!4018 Make --log-level work when hilog enabled
Merge pull request !4018 from hzzhouzebin/MakeLogLevelWork
2023-05-10 12:42:23 +00:00
openharmony_ci
6d8ffd63cf
!4027 bugfix of Compare Date
Merge pull request !4027 from maojunwei/master
2023-05-10 10:12:26 +00:00
openharmony_ci
14ae218e9f
!3825 Allocation Sampling
Merge pull request !3825 from hunili/master
2023-05-10 08:57:17 +00:00
openharmony_ci
3e10740034
!3891 Imporve AOT Debugging Tools
Merge pull request !3891 from dingding/aot_tools
2023-05-10 04:28:03 +00:00
openharmony_ci
0c50813a97
!4030 support serialize bigint
Merge pull request !4030 from wangzhaoyong/master
2023-05-09 11:49:36 +00:00
openharmony_ci
7d01ccb476
!3957 Create constant string to optimize the memory of Heap
Merge pull request !3957 from xiongluo/constant_string
2023-05-09 11:22:41 +00:00
changjiaxing
493eeaf388 Adaptation Previewer Test Framework
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71P35?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I53dc9b6c1846430799d6880660e3e1a4248d910c
2023-05-09 18:20:46 +08:00
wangzhaoyong
500e3e7c41 support serialize bigint
1. serialize bigint

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

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I38038c632251ba963f75a329e341412d48a76a16
2023-05-09 17:29:31 +08:00
openharmony_ci
e8759479a3
!4029 Modify ets_runtime readme.md
Merge pull request !4029 from guobingbing3/optimize
2023-05-09 07:29:00 +00:00
g00416891
d5c87a7ec5 Modify ets_runtime readme.md
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71L2N

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I43a9f4ed272078cc405860a8764ecb24b11d3b8b
2023-05-09 15:05:35 +08:00
openharmony_ci
15dc738766
!4021 Optimize Code Generation (Part-1)
Merge pull request !4021 from Gargoyle.h/wzfmaster-dev
2023-05-09 06:44:10 +00:00
hzzhouzebin
510f12a8f7 Make --log-level work
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I711PJ
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I2f46362bdf143a9a9c16871ddebdc9d4af24d011
2023-05-09 14:43:59 +08:00
maojunwei
ad5feaadd6 bugfix of Compare Date
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71FTU?from=project-issue

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Ic00eeca26b952f3f05377d204f82b9e602a5e454
2023-05-09 14:41:58 +08:00
hunili
a686401d44 Implement Heapprofiler Sampling
1.Add heapprofiler sampling

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6R3KV
Signed-off-by: hunili <lihucheng2@huawei.com>
2023-05-09 11:54:59 +08:00
wuzhefeng
979ffe634f Optimize Code Generation (Part-1)
Current code generator produces many redundant basic blocks, which
should be improved and optimized so as to reduce the size of the final
AOT-generated machine code's size and the compilation time.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I6f718c86384ae1ac5a6031a908ce2bbe7807daef
2023-05-09 10:53:16 +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
openharmony_ci
86f8b30600
!4026 feat: disable backward cfi for arkcompiler
Merge pull request !4026 from Zhaotianyu/20230508cfi
2023-05-08 18:08:52 +00:00
openharmony_ci
3580072a86
!4024 Componentized check
Merge pull request !4024 from 任堂宇/master
2023-05-08 15:55:27 +00:00
Rtangyu
c05f1d3c22 Componentized check
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71EFL

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2023-05-08 22:57:28 +08:00
arvinzzz
3775cebfc7 disable backward cfi for arkcompiler
Test: build

Issue: I71CPO

Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I4a9199758bb42c3e7b734fca839a20b8e281ab06
2023-05-08 22:19:38 +08:00
openharmony_ci
fc8d510053
!4022 Fix CrashCallback Crash if Method Cannot be Found
Merge pull request !4022 from 李晨帅/master
2023-05-08 13:40:10 +00:00