openharmony_ci
178b7c012b
!3854 ark NAPI API Supplement
...
Merge pull request !3854 from lwx1067109/master
2023-04-19 01:44:58 +00:00
lee-wen-qiang
af21ca34d0
NAPI API Supplement
...
https://gitee.com/openharmony/arkui_napi/issues/I6SJ4M
Signed-off-by: lee-wen-qiang <liwenqiang45@huawei.com>
2023-04-18 15:42:29 +08:00
yingguofeng@huawei.com
e705f7a167
Perf(Aot): nbody optimization
...
1. Optimize CallTargetCheck lowering
2. StoreProperty bugfix
Issue: #I6V1KU
Change-Id: I818c1df9454f745ff9245cdff9d9c4a45cbf282e
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-04-14 09:32:56 +08:00
DaiHN
9baaa9469a
Bugfix of inaccurate index when using "Export... as ..."
...
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6U1P9?from=project-issue
Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I68309a13068fa1bf578bfbd8867a074af56fc3d9
2023-04-11 14:42:48 +08:00
lichenshuai
603a8bdce7
Fix FillFreeObject Bug
...
This bug is caused due to a huge object contains more than 1 region.
It causes browser crash if it contains more than 100 windows.
Issue: #I6PU9W
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I6887ad4444d2092c8012568c9752ee0d4a07d6c8
2023-03-25 09:34:25 +08:00
weng-xi
73f39aa7f3
AOT Supports VTable [PART_1]
...
1. Add fours fields to jshclass [LEVEL, SUPERS]
2. Add VTable class
3. Adjust type parser and TSHClass generation logic
4. Extended the weakvector class
5. Add SubtypeingOperator class
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I6FVAJ
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I6640f3719fa067f505befd0f2cb0efb99d179dfc
2023-03-16 19:07:49 +08:00
weng-xi
f6f65e167c
Add the ClassLiteral class
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ITCC
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Iff5e4baaf5d71816b40015565fade48d2cf22fee
2023-03-07 09:34:33 +08:00
maojunwei
b4ebf86687
Fix AsyncGenerator
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6AAHY?from=project-issue
Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I4e2b4eec4c9ac1346f8b6d7f6d13a6818c83f5d3
2023-02-23 18:43:29 +08:00
g00416891
8e845313e5
Optimize LiteralDataExtractor
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6DLG8
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I1ed5fb2d71cee484430952d6a0816e3a780ec6bc
2023-02-08 10:43:02 +08:00
weng-xi
8f1fda94e3
Fix AOT bug of hasOwnProperty
...
1. change the logic of load/store operations when use AOT HClass
2. Supplement ut case
3. Add two new IC handlers
4. Add removeAOTFlag method to arktools
5. Add accessor flag to AOT HCLASS
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I692NO
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I9ca7e329b77e83b6c5a2c98525d551b5b4a1a9a4
2023-01-14 14:49:52 +08:00
huangzhenghua
46383b9f75
Put "SetLength()" inside the function of NewTaggedArrayWithoutInit
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I69Z54
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I602c0a6b0c49ec9f7b42e10436a56a4b67847a25
2023-01-11 20:43:27 +08:00
Gymee
0500527db8
Remove leading spaces at empty line
...
Issue: #I67PO6
Signed-off-by: Gymee <yumeijie@huawei.com>
2022-12-27 17:59:06 +08:00
openharmony_ci
7c4ade6f9e
!3185 optimize benchmark
...
Merge pull request !3185 from yingguofeng/master
2022-12-15 04:54:50 +00:00
yingguofeng@huawei.com
1928306f27
perf(cocos): optimize benchmark
...
1、optimize debug log and interface in napi
2、allocate short-time object to young space
3、add always inline
3、others
link #I65ET4
Change-Id: Ib6b36a0f29f18d5622349648c9d9ed4b8313a3ee
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-12-09 10:08:03 +08:00
huangzhenghua
714b655d0d
adjust function position
...
move some function of object_factory to tagged_array
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I986bb3b100929b8f323c0cf753ef392e5fe7c9c2
2022-12-08 18:42:35 +08:00
liu-ganlin
bc3e295bef
update list ConvertToArray
...
Signed-off-by: liu-ganlin <liuganlin@huawei.com>
2022-12-07 18:06:45 +08:00
openharmony_ci
5262acdd74
!3136 Add DateConstructor in builtins stubs
...
Merge pull request !3136 from dingding/ir_DateConstructor
2022-12-05 11:36:51 +00:00
ding
1d0c851fcd
Add DateConstructor in builtins stubs
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I649EV
Signed-off-by: ding <dingding5@huawei.com>
Change-Id: I22d1b4f2ec92f45c04b816c3a35e7a43ab6d9922
2022-12-05 15:56:32 +08:00
DaiHN
1619ee6e32
Fix the way of resolving CommonJS file entryPoint
...
----------------------------------------
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I637RM?from=project-issue
Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I86da09cbf79414fe7113a32c7bfbd918b00841ae
2022-12-05 10:19:28 +08:00
wanghuan
1d29a3a825
add TreeString and LineString
...
desc: add TreeString and LineString
solu:
1. add TreeString and LineString
2. all string fucntions fit new construction
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5X82Y
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I6c6ded38ee67741b5c0f17f19b72e68a4375b303
2022-11-25 16:39:45 +08:00
DaiHN
56908d8052
Fix for supporting Dynamic import
...
-------------------------------------
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I61XDL?from=project-issue
Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I16beb9aa175ba3f0b62261a5b3c6566531dd4c19
2022-11-23 14:35:22 +08:00
huoqingyi
478e29185e
Adapt import types in merge-abc
...
Since the class TSImportType has never been verified correctness in AOT,
there are some bugs and redundant design. Also, the system of TSImportType
has not been updated in multiple refactorings of both frontend and AOT.
In order to support type inference from import types, we need to adapt these changes.
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I60M4F
Tests:
aot test, typeinfer test
Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: I82ed369e3c449cf7b365657e2b191d24315e541b
2022-11-16 10:21:16 +08:00
武万琦
db94fdde7d
Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into arraybuffer
...
Signed-off-by: 武万琦 <wuwanqi2@huawei.com>
2022-10-29 06:43:17 +00:00
wuwanqi
68c5a59453
Add onheap path for arraybuffer while arraybuffer bytelength is not greater than 64
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5THVD?from=project-issue
Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: I9a7d6df4efdb97969e4cf23742db7d51c3abe4f8
2022-10-29 14:25:41 +08:00
openharmony_ci
646d3d0186
!2700 容器类接口优化
...
Merge pull request !2700 from huangzhenghua/master1023
2022-10-26 08:38:32 +00:00
huangzhenghua
d0962b2175
containers optimization
...
containers clone & toarray & remove optimization
lightweightmap bugfix
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I77292d48d0deb128eeb65c92592547823caa4171
2022-10-26 15:53:35 +08:00
xiongluo
1291aa23a9
cow array optimize
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5V3ET?from=project-issue
Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-10-26 11:37:49 +08:00
weng-xi
63f702ae40
Set AOT code entry for literal object
...
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I0c4d2e7579a845b3ec4cd8b9dac4057edf7e9397
2022-10-25 22:03:01 +08:00
hongtao
797a04d0a7
add type infer pass for getIterator
...
Signed-off-by: hongtao <hongtao11@huawei.com>
Change-Id: I7427c0d53fa479cca39ef0681628e6e04588fd6b
2022-10-22 18:10:54 +08:00
openharmony_ci
5b5c7eb06a
!2510 Shared class hclass
...
Merge pull request !2510 from yingguofeng/class_hclass_opt
2022-09-30 07:00:52 +00:00
yingguofeng@huawei.com
d3cdeddf90
perf(memory): shared class hclass
...
Closes #I5R38G
Change-Id: I46798294c8881342e1cae1eb76acff1fc7f504f9
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-09-27 10:59:34 +08:00
wengchangcheng
88057c909d
Descriptor: Fix codestyle
...
details: Fix codestyle
issue: https://gitee.com/open_harmony/dashboard?issue_id=I5QWXL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I81a8931f7cf8e4719da2d81214eedee3f8d7be61
2022-09-25 10:17:53 +08:00
sunzhe23
8e779375a1
remove some unused code
...
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-09-21 16:08:57 +08:00
wanyanglan
f592a1c144
Bugfix Aot Adapt New Instructions
...
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I38c8cb841998107fc936a729c5b48bc21df4d0fc
2022-09-21 12:24:52 +08:00
lijincheng
293dbaee8a
typeinfer isa adapter
...
1. typeinfer UT fix
Signed-off-by: lijincheng <lijincheng13@huawei.com>
Change-Id: I2508ae3ec680b26afcd55822382db64058eea41b
2022-09-20 20:23:26 +08:00
weng-xi
4dc913fa3d
snapshot adaptation
...
Change-Id: I0562218840976faabd1146f55cf91e9806a45eff
Signed-off-by: weng-xi <wengxi1@huawei.com>
2022-09-20 20:17:45 +08:00
wengchangcheng
4feda79505
Modify module for new isa
...
1. Init and get module environment by index
2. Set and get module var and namespace by index
3. restore binding with index and module or namespace
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5RSN7
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I8bf3f6245e047d95ec1afd5d4475e6f8405ae77c
2022-09-19 14:26:06 +08:00
maojunwei
259b2246c3
Trigger gc by native binding size
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5Q38W
Signed-off-by: maojunwei <maojunwei1@huawei.com>
2022-09-09 16:58:03 +08:00
wengchangcheng
ff85273bc9
Descriptor: delete FunctionKind in JSFunction
...
Details: delete FunctionKind in JSFunction
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LPNL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Idc21112643211e691d5a0b6ae11831ad4bb7acd6
2022-09-09 00:09:56 +08:00
wengchangcheng
204dcd52fa
Merge remote-tracking branch 'origin/master' into wcc_0808
...
Change-Id: Ie97cee27f9e8043315cfb9520699c3c8d5fb5071
2022-09-06 22:50:58 +08:00
yingguofeng@huawei.com
50417b0a01
perf(class): Optimization of Class Field
...
Closes #I5PKW0
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: I7e7f1c619ec93c7978b4b735f170b762adc22981
2022-09-04 16:46:32 +08:00
wengchangcheng
447847cb1d
Merge remote-tracking branch 'origin/master' into wcc_0808
...
Change-Id: I1566e28d02d931b390ac5d7c3cb11c3485aed5de
2022-08-30 19:19:34 +08:00
g00416891
07e33b3e21
Hot patch for modify and add function
...
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I4ee46b128dd910a47ce82328e5b0676feb095bfb
2022-08-29 16:43:17 +08:00
wengchangcheng
a91655dd03
Descriptor: Support new version bytecode
...
Details: Adapter new instruction for c-interpreter
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LPNL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Iddd93beef786f9453474329e424941a14ad64f9d
2022-08-29 15:56:26 +08:00
openharmony_ci
d347e9b87f
!2177 optimization math and number function
...
Merge pull request !2177 from 李_文强/master
2022-08-27 13:01:34 +00:00
wuwanqi
0a0dc5bffb
Optimization of building Class Constructor
...
Collect class-literal's message in ConstPool through GenerateProgram(), and create Class's Constructor during js-runtime.
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5MKDB
Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
2022-08-27 17:34:13 +08:00
lee-wen-qiang
3cf3f351c0
optimization math and number function
...
Signed-off-by: lee-wen-qiang <liwenqiang33@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LMHN
2022-08-27 17:24:16 +08:00
wengchangcheng
ab13a0da91
Descriptor: support first level instruction
...
Details:
1. Add old Opcode defines
2. Add new inst handler of throw & wide & deprecated
3. Modify interpreter for new inst
4. Modify typeinfer for new inst
5. Modify asm interpreter for new inst
6. Modify aot circuit builder for new inst
7. Translate old inst to first level inst
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LPNL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: If9e0b60cafc32a662a5fb1676887939d5a2b9ebf
2022-08-24 14:12:42 +08:00
g00416891
e7e344e150
Modify JSMethod to Method
...
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I2f18e1cd8c163a2839bbf2b3da4e40d385f5094a
2022-08-23 15:23:06 +08:00
lifansheng
2110e9faf0
Rduece SourceTextModule Size
...
issue: I5MM8C
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Ib7a5ad7787a740dc6c834992fd82458e184b4012
2022-08-18 20:14:15 +08:00