Commit Graph

2082 Commits

Author SHA1 Message Date
wengchangcheng
bb446398c0 Descriptor: decrease compiler time
details use dynamic link of libark_ecma_debugger.so & libjsdebugtest.so
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FYDR

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ic0f7c21d0e296dbcb28753fe038f10fa4d4c8f37
2022-07-07 20:20:23 +08:00
openharmony_ci
b47df7d932
!1753 add unittest case for js_list_format
Merge pull request !1753 from zhaozhibo/master
2022-07-07 11:42:53 +00:00
openharmony_ci
e7682b3e76
!1752 fix codex warning
Merge pull request !1752 from hjzhangcm/master
2022-07-07 11:41:25 +00:00
openharmony_ci
ea9be206de
!1742 add a unit-test for JSAsyncFunction
Merge pull request !1742 from hjzhangcm/master
2022-07-07 11:40:37 +00:00
openharmony_ci
2333ebf18d
!1751 decrease ark log
Merge pull request !1751 from weng-changcheng/ark_hilog_decrease
2022-07-07 11:27:19 +00:00
openharmony_ci
51e6637d73
!1744 Fix CodeCheck
Merge pull request !1744 from guobingbing3/optimize
2022-07-07 11:20:43 +00:00
guobingbing
422ab85b84 Fix CodeCheck
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: I23358a6b12584fe4e3a583d0fad5e7f81875e977
2022-07-07 18:43:05 +08:00
hjzhangcm
a5375d8bca fix codex warning
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-07 17:33:05 +08:00
zhaozhibo
0e2efc36ea add unittest case for js_list_format
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-07-07 16:46:58 +08:00
openharmony_ci
4e07c97baf
!1739 支持context传递
Merge pull request !1739 from wangzhaoyong/master
2022-07-07 07:56:29 +00:00
wengchangcheng
b16ddc6c60 Descriptor: decrease ark debug log
details: dont print interpreter log
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FZNJ

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I8c362cb1359db77e994d510df17bbda4ce3ab0b5
2022-07-07 15:54:12 +08:00
wangzhaoyong
4e447de92b support post context
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FNMI

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I18ce8cc5b81a8e3e2c2398bb4934732a6e18f676
2022-07-07 11:52:34 +08:00
openharmony_ci
81ca7a67d5
!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
openharmony_ci
13b0765662
!1737 Improve efficiency of Builtin-string replace
Merge pull request !1737 from 袁尧/master
2022-07-07 01:58:23 +00:00
getingke
4e7999a982 fixed for review by songzhengchao
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: Ie2f112efc383353bdcf172dcf951414fcd779b75
2022-07-07 09:21:54 +08:00
getingke
48a9b69334 fixed for code check warning
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I0d937eb92b932001ee21b87920e45b6a0ffce567
2022-07-07 09:01:26 +08:00
wengchangcheng
6e5a7e8362 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
openharmony_ci
c00a572bf0
!1743 Improve BuildEcmaStackTrace perf
Merge pull request !1743 from linxiang8/master
2022-07-06 13:27:04 +00:00
wanghuan
f685e41be2 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
8bf9dde2a8 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
f4b7caedc8 add test case for JSAsyncFunction and fix notes
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-06 18:05:41 +08:00
linxiang
442d57cd7b Improve BuildEcmaStackTrace perf
pref BuildEcmaStackTrace from 5ms to 0.25ms

Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I90dd706371374e6211506c7e1170f06f17eba24f
2022-07-06 17:49:18 +08:00
getingke
6ac7d04254 fixed for proxy bug
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I6bd8842e81a7cce061190fff86345b98bb5b660e
2022-07-06 09:53:50 +08:00
openharmony_ci
bdb417dbc4
!1655 fix debugger signal bugs
Merge pull request !1655 from Gymee/debugger_bugfix_master
2022-07-06 01:35:46 +00:00
getingke
3566c58b53 fixed for code-check warning
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I4813af5b8790a998d8975058375e4ea14796b77e
2022-07-05 20:07:04 +08:00
getingke
e222260f9b 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
openharmony_ci
6346901e46
!1736 Fix GC crash of asm interpreter bridge frame
Merge pull request !1736 from zhangyukun8/cpuprofiler
2022-07-05 11:53:14 +00:00
zhangyukun8
610c11ec1d 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
openharmony_ci
c75edd8919
!1733 add notes and delete unused codes
Merge pull request !1733 from hjzhangcm/master
2022-07-05 11:15:22 +00:00
yuanyao
4a3a4cb7f7 Improve the efficiency of builtinString replace
Description:
By Using Concat function in Object Factory to replace multiple conversion between u16string.
Delete some redundant code.

Issues: https://gitee.com/openharmony/ark_js_runtime/issues/I5FN7C

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I50309cb0ee9e6eb099d5734151ca754fc7210b96
2022-07-05 19:01:40 +08:00
openharmony_ci
4dcd076f3c
!1704 Rectify coding specification problems
Merge pull request !1704 from zhaozhibo/master
2022-07-05 10:07:20 +00:00
hjzhangcm
c9d152e137 add notes and delete unused code
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-05 17:47:51 +08:00
openharmony_ci
7906512710
!1594 New EcmaRuntimeCallInfo in stack pointer
Merge pull request !1594 from guobingbing3/master
2022-07-05 09:39:38 +00:00
openharmony_ci
4e1502cdc6
!1722 add module resolvePath
Merge pull request !1722 from fanshengli/module_resolvePath
2022-07-05 08:31:24 +00:00
openharmony_ci
45dfec17b9
!1707 NativeBindingObject adapt to context
Merge pull request !1707 from wangzhaoyong/master
2022-07-05 08:07:02 +00:00
g00416891
b6588744f2 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
802938d723
!1730 Add testcase for JSNumberFormat
Merge pull request !1730 from hjzhangcm/master
2022-07-05 06:14:37 +00:00
Gymee
f8b8b3008f fix debugger signal bugs
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I42ca0cc591a7b0697d89b02081152fd763251d2a
2022-07-05 11:05:19 +08:00
lifansheng
18d7ba84be issue:I5F5ZK
add module resolvePath

Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I46ff3e6e7a10a14731f3db15b5b674bb7e1d902d
2022-07-05 09:20:21 +08:00
wangzhaoyong
ede207997c NativeBindingObj adapt to context
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5E81V

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: Ib60af2299054908f4f0df2dc886f77c30814db5c
2022-07-05 00:21:06 +08:00
openharmony_ci
734c1de606
!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
6c77707b5f
!1630 Fix bugs in ts aot
Merge pull request !1630 from huoqingyi/slowlowering
2022-07-04 11:41:42 +00:00
hjzhangcm
0afc2c4b57 add test case for JSNumberFormat
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-04 19:13:58 +08:00
hjzhangcm
2aa16d3363 Modify static alarm
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-04 17:20:40 +08:00
huoqingyi
9cf6e63579 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
793663e6a8 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
openharmony_ci
43d78d6f1b
!1700 RegExpParserCache Set and get add info.groupname
Merge pull request !1700 from zhangyouyou/master
2022-07-04 03:07:58 +00:00
openharmony_ci
3aed6a376f
!1716 Optimize variable-attribute-view problem about object,string show
Merge pull request !1716 from wwx1083752/master
2022-07-04 03:00:32 +00:00
zhangyouyou
22662bd4c9 https://gitee.com/openharmony/ark_js_runtime/issues/I5ETSJ
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2022-07-04 10:19:41 +08:00
zhangyukun8
abf89ef083 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