openharmony_ci
6462b1e03c
!1510 Add two HIRs RESTORE_REGISTER, SAVE_REGISTER to support generator command
...
Merge pull request !1510 from wanyanglan/master
2022-07-09 15:16:12 +00:00
openharmony_ci
8e2a8e1e40
!1754 Fix TSAOT Test262 Bugs
...
Merge pull request !1754 from 许杰/fix262
2022-07-09 08:45:22 +00:00
wanyanglan
a2ec8c761d
Add two HIRs RESTORE_REGISTER, SAVE_REGISTER to support generator command
...
Context is not saved when processing SUSPENDGENERATOR and RESUMEGENERASTOR
instructions, and contextual execution cannot be restored.
1、Add SAVE_REGISTER HIR for saving context
2、RESTORE_REGISTER HIR for restoring context
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5B2QO
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: I16b73390c6f7ae7c295f0aa1a9c9df538c2a4fec
2022-07-09 16:22:55 +08:00
xujie
d8c9f28203
Fix TSAOT Test262 Bug
...
1. Fix globalthis bug by passing global parameter.
2. Fix jscallwitchargv bug by pushing env for calling JSCall.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5G235
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: Ifb2a9d1f8a4460019a94a1ac34cca246b23ccd1b
2022-07-09 11:02:00 +08:00
openharmony_ci
eeecc2f24d
!1742 add a unit-test for JSAsyncFunction
...
Merge pull request !1742 from hjzhangcm/master
2022-07-07 11:40:37 +00:00
openharmony_ci
f3b6f7fb02
!1744 Fix CodeCheck
...
Merge pull request !1744 from guobingbing3/optimize
2022-07-07 11:20:43 +00:00
guobingbing
de5847146a
Fix CodeCheck
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I23358a6b12584fe4e3a583d0fad5e7f81875e977
2022-07-07 18:43:05 +08:00
openharmony_ci
981db37b8e
!1726 fixed for assermbler stubs bug in mobile phone
...
Merge pull request !1726 from getingke/fix_aarch64_aottest
2022-07-07 02:18:36 +00:00
getingke
d9eee91cfb
fixed for review by songzhengchao
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Ie2f112efc383353bdcf172dcf951414fcd779b75
2022-07-07 09:21:54 +08:00
getingke
d444c973a1
fixed for code check warning
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I0d937eb92b932001ee21b87920e45b6a0ffce567
2022-07-07 09:01:26 +08:00
wengchangcheng
cd90e396a7
Descriptor: ark hilog refactor
...
details:
1. use hilog in ohos device
2. use panda logger in host
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
wanghuan
7e44aaa83b
fix generate stub.m failed
...
desc: fix generate stub.m failed
solu:
1. add log if generate timeout
2. extend timeout-limit
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FUG4
Signed-off-by: wanghuan <wanghuan80@huawei.com >
Change-Id: I33a125ba1c8fbf0e76ffe74cb8392ef50c0019de
2022-07-06 18:58:13 +08:00
getingke
9ccd71388b
fixed for review comment by wuzhefeng
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I2f0c61448663bd45f097210dcfe8fc37e4d92f07
2022-07-06 18:40:34 +08:00
hjzhangcm
d2999d9452
add test case for JSAsyncFunction and fix notes
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-07-06 18:05:41 +08:00
getingke
d314d02335
fixed for proxy bug
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I6bd8842e81a7cce061190fff86345b98bb5b660e
2022-07-06 09:53:50 +08:00
getingke
a790594829
fixed for code-check warning
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I4813af5b8790a998d8975058375e4ea14796b77e
2022-07-05 20:07:04 +08:00
getingke
3933c182ec
fixed for rewrite assembler stub for aarch64
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I9b5982bc1268725e7882fd95eeb2ba07f2851b6d
2022-07-05 20:07:03 +08:00
zhangyukun8
96db4b6a46
GC crash of asm interpreter bridge frame
...
1. GetCallSitesp error of asm interpreter bridge frame
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5FN71?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com >
Change-Id: Icb2e3ba21be4eb9bd5d59d214af8ea13a7b95ea2
2022-07-05 19:19:33 +08:00
g00416891
f11810349e
New EcmaRuntimeCallInfo in stack pointer
...
Signed-off-by: g00416891 <guobingbing3@huawei.com >
Change-Id: I466a4107e6e073ffecea12e6986c112731d2d3bf
2022-07-05 14:54:43 +08:00
openharmony_ci
344adcb4e6
!1727 Fix ReplaceHirToSubCfg in the multi-lowering
...
Merge pull request !1727 from dingding/fix_ReplaceHirToSubCfg
2022-07-04 12:01:00 +00:00
openharmony_ci
f2ff538599
!1630 Fix bugs in ts aot
...
Merge pull request !1630 from huoqingyi/slowlowering
2022-07-04 11:41:42 +00:00
hjzhangcm
db8cc3a082
Modify static alarm
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-07-04 17:20:40 +08:00
huoqingyi
5905b54c34
Fix bugs in ts aot
...
Description:
1.Fix the bug that Circuit IR args gates do not match the function args of the abc file.
2.Add class ArgumentAccessor to handle args gates of Circuit IR.
3.Modify to set the AOT function entry when constpool is being parsed.
4.For functions sharing the same instructions, add a map to collect duplicate infomation. The key of the map is the current method and the value is the first method with the same nstructions to be translated.
Issue:
https://gitee.com/openharmony/ark_js_runtime/issues/I5DA6V
Change-Id: I08e48444eb22c4fc2841e1cdae44b90286de84ac
Signed-off-by: huoqingyi <huoqingyi@huawei.com >
2022-07-04 16:19:11 +08:00
ding
b36d77eb7e
Fix ReplaceHirToSubCfg in the multi-lowering
...
After add type-lowering, some JSBytecode hirs may have been lowered in
advance. Need handle the scenario.
issue://gitee.com/openharmony/ark_js_runtime/issues/I5FCPW
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: If17a3d137bd91e034ca0a614aeac2f8ac73b6f10
2022-07-04 14:14:15 +08:00
zhangyukun8
c041e23892
CpuProfiler adapt assembly-interpreter
...
1. lookup traces when a frame has not been constructed totally
2. update rbp before exit current frame
3. update leaveFrame_ before callngcruntime
4. fix bigint
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5ELOP?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com >
Change-Id: I85bedde971436df9775d49fefd84b7375a65f564
2022-07-04 09:43:35 +08:00
openharmony_ci
f447952121
!1717 Using panda file unique id as file index in aot output file, instead of filehash calculated by file path.
...
Merge pull request !1717 from luochuhao/fileuniqueid
2022-07-02 03:47:51 +00:00
luochuhao
b57e9810cd
Use panda file unique id as file index in aot output file, instead of filehash calculated by file path.
...
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5F2Q4
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: Iff5302a78355f1cb6ebfa476d64a97d0c49ecd09
2022-07-02 10:17:42 +08:00
openharmony_ci
e0acde7a42
!1690 Put bcStubEntries as offset 0 of glueData
...
Merge pull request !1690 from 孙哲/master
2022-07-01 09:03:58 +00:00
sunzhe23
1dc1ca0b72
Put bcStubEntries as Offset 0 of glueData
...
description:
optimize arm performance, interpreter bc dispatch can reduce one instruction
Issue: #I5EM5W
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-07-01 16:21:10 +08:00
openharmony_ci
2922c2a840
!1692 fix HandleLdObjByValuePrefV8V8
...
Merge pull request !1692 from wpy111/master
2022-07-01 01:51:58 +00:00
wupengyong
48e08b34ce
reason:fix HandleLdObjByValuePrefV8V8
...
description:fix asminterpreter for arm64
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EMXU?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com >
Change-Id: I1670d66d1df31e0257a440b2e05539e16724f11d
2022-06-30 21:28:58 +08:00
openharmony_ci
cc2e18da3a
!1397 Support lexenv in TSAOT
...
Merge pull request !1397 from 许杰/env_support
2022-06-30 08:39:15 +00:00
xujie
690ca22d2a
Support Lexenv In TSAOT
...
1. Support lexical env when running tsaot
2. fix getunmappedargs and copyrestargs bugs
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5C1P2
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: Ia78ea4d89654d6924c0dee6f491cdf1e4fe718ee
2022-06-30 14:01:26 +08:00
lijincheng
5a438070a4
bugfix for jscall noncallable and ldbigint
...
1.fix non jstaggedvalue message noncallable id, and wrong glue register in x64
2.fix wrong constpool id using in ldbigint
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EFQR
Signed-off-by: lijincheng <lijincheng13@huawei.com >
2022-06-30 10:16:17 +08:00
openharmony_ci
c76ac0073e
!1683 fix IntBuildTaggedWithNoGC
...
Merge pull request !1683 from wpy111/master
2022-06-29 01:51:35 +00:00
openharmony_ci
313fa69d6e
!1674 stub.m binary file compiled into shared library
...
Merge pull request !1674 from wanghuan2022/master
2022-06-28 15:03:46 +00:00
wanghuan
733093439a
stub.m binary file compiled into shared library
...
desc: stub.m binary file compiled into shared library
solu:
1. ark_stub_compiler executable not depend libark_jsruntime.so and libark_jsoptimizer.so, but depend libark_jsruntime_set and libark_jsoptimizer_set
2. python shell read stub.m binary data, and save to extern array of stub_m.cpp;
3. file_loader.cpp read stub data from array of stub_m.cpp.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5E4LW
Signed-off-by: wanghuan <wanghuan80@huawei.com >
Change-Id: I9c95c882b59438370523179dd5949aeca51faa10
2022-06-28 17:25:33 +08:00
wupengyong
7fcd4f36e2
reason:fix IntBuildTaggedWithNoGC
...
description:use SExtInt32ToInt64
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EITG?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com >
Change-Id: I8374ffd008013bcfb9ed3d0b4030b7a0c9327720
2022-06-28 16:16:35 +08:00
ding
c80c97bdfa
Resolve Compatibility Issues between TSAOT and ECMA spec
...
1.Add typelowering framework.
2.Add newobjdynrange in typelowering which brings static TS type
info to runtime phase.
3.Serialize and deserialize hclass table with snapshot, fix minor bugs
in snapshot by the way.
4.Add IsFormTSTypeBit in HClass to distinguish hclasses which come from
compile phase.
5.Fix compatibility issues in property operations api and some builints
api.
6.Add 3 compatibility issues test cases.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5E2N9
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I98626e6eea01f4455ec818ba0ad872b3be98b729
2022-06-28 14:43:16 +08:00
openharmony_ci
55a35312b2
!1658 Refactor Entry frame
...
Merge pull request !1658 from 孙哲/master
2022-06-24 06:21:00 +00:00
sunzhe23
3021c79a4b
Refactor Entry Frame
...
description:
use js common entry refactor entry frame
align 16 for aarch64
issue: #I5DR75
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-06-24 10:44:28 +08:00
openharmony_ci
4c7dbcfd68
!1649 fixed bug for aarch64 aot test case
...
Merge pull request !1649 from getingke/fix_aarch64_aottest
2022-06-23 13:11:25 +00:00
getingke
39943ece43
fixed for aarch64 aot test case
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I17fe5a44b06d351d11fb02b77e375f9c9d54df17
2022-06-22 15:09:18 +08:00
sunzhe23
a5e8cfdfef
Add log compile method option asm
...
description:
Add log compile method option asm to print asm disassemble code
issue: I5DGEX
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-06-22 09:38:58 +08:00
openharmony_ci
37c0da1e8f
!1621 AsmInterpreter call Aot JSFunction
...
Merge pull request !1621 from getingke/asm_call_aot
2022-06-21 07:35:49 +00:00
getingke
c0c4198086
fixed for debug call with argv
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I2e08fac9b385212af8d19c413a2d00aa1671e4bd
2022-06-21 14:31:59 +08:00
openharmony_ci
5d516b05fc
!1600 Adapt to new version and roll back ark independent compilation
...
Merge pull request !1600 from Zhoucong/master
2022-06-21 04:19:52 +00:00
getingke
b6b4a01e1b
fixed for asm call aot
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Ia00888a517f9a250871bf87beb692dccdee624fd
2022-06-20 20:58:32 +08:00
lordwithcc
fbd3c5c2be
Adapt to new version and roll back ark independent compilation
...
Signed-off-by: lordwithcc <zhoucong40@huawei.com >
2022-06-20 18:28:21 +08:00
xliu
f9c09fc846
fix LdGlobaleVar and TryLdGlobalByName
...
1.Adjust the logic of IC for LdGlobalVar
2.Adjust the logic of IC for TryLdGlobalByName
3.Add set as SetAsMega for LoadMiss and StoreMiss
4.Container test case refactoring
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5CJO2
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I3c531d072c5f2e4b6508544d9420ad4817943c24
2022-06-20 10:13:02 +08:00