Commit Graph

2639 Commits

Author SHA1 Message Date
openharmony_ci
c29332c1d9 !1833 fix fuzztest errro and add new fuzztest
Merge pull request !1833 from zhaozhibo/master

Change-Id: I1e83c46e25d0a7c342e5c8e7ca5ff61c745b7582
2022-07-25 08:49:51 +08:00
openharmony_ci
8330a50e83
!1879 refactory: move js_api file to js_api catalogue
Merge pull request !1879 from linxiang8/master
2022-07-23 10:29:46 +00:00
openharmony_ci
1d90ca3551
!1858 Constpool object moved to old age
Merge pull request !1858 from xliu/revert_oldspace
2022-07-23 10:13:49 +00:00
linxiang
1d9edc9885 refactory: move js_api file to js_api catalogue
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: Id5bba5fa97c4cbfe4fee9f557cc92b020ddb3be4
2022-07-23 15:52:48 +08:00
openharmony_ci
bca036f891
!1869 TSAOT Test262 Bugfix
Merge pull request !1869 from 许杰/aotbugfix
2022-07-23 07:09:12 +00:00
xliu
4b27184ed7 Constpool object moved to old age
Description
  1.GC is frequent during constpool parsing
  2.Constpool object moved to old age allocation
Issue:
  https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5I8YT

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I0c88597f56a3ff60337fd21fa2d09d1dac004973
2022-07-23 11:31:35 +08:00
xujie
efd92e0cc7 TSAOT 262 Bugfix
1. Fix proxy bug by replacing CallNGCRuntime with CallRuntime in
JsProxyCallInternalStub.
2. Fix some calling bridge bugs in JSCall and JSProxyCallInternalWithArgV.
3. Replace aot with opt in runtimestub function name.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5IJJW
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Iddda3166be93091546146bd4942d921c7320da20
2022-07-23 11:17:04 +08:00
openharmony_ci
192a45e38e
!1723 Bugfix for Aot Error Found In Test262
Merge pull request !1723 from lijincheng/aot-test
2022-07-22 10:10:59 +00:00
openharmony_ci
90d254a049
!1799 Optimize interface in array
Merge pull request !1799 from 小马奔腾/master
2022-07-22 09:35:46 +00:00
openharmony_ci
1f028648de
!1864 utilxts bugfix
Merge pull request !1864 from lukai/master
2022-07-22 08:17:38 +00:00
lijincheng
1365fe05de Bugfix for Aot Error Found In Test262
1.Handle the situation which constant gate is at the end of current block
2.Handle import/export in Multiple files for TSAOT
3.Handle try-catch-finally
4.Handle conditionJump with only one successor
5.Handle try block without instructions which can throw exception
6.Handle LoopBack Verify Error
7.Add UT case for try-catch-finally
8.Handle getModule Error in Aot compile
9.Handle block endwith Constant gate
10.Bugfix for NewObj returnValue Error when need to throw Exception

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5F6JT
Signed-off-by: lijincheng <lijincheng13@huawei.com>
2022-07-22 14:52:21 +08:00
openharmony_ci
0baae9ebf0
!1860 resolve libark_jsruntime.so BEP consistent question
Merge pull request !1860 from wanghuan2022/master
2022-07-22 04:22:53 +00:00
openharmony_ci
c7fa86d25b
!1870 rename Stub to StubBuilder
Merge pull request !1870 from 孙哲/master
2022-07-22 03:27:30 +00:00
xdmal
8018643d5b Optimize interface in array
Optimize interface in array

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

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-07-22 11:05:16 +08:00
sunzhe23
1783bf0e05 Refactor compiler Stub (part-2)
rename Stub to StubBuilder

issue: #I5IDQB

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-07-22 10:48:37 +08:00
openharmony_ci
181ec50e88
!1856 tsaot add test case
Merge pull request !1856 from Hailiang/aot_lowering
2022-07-22 02:36:57 +00:00
zhaozhibo
57c6b5df3f fix fuzztest errro and add new fuzztest
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-07-22 09:36:46 +08:00
openharmony_ci
4769143733
!1862 Incorrect use of ACCESSORS interface
Merge pull request !1862 from linxiang8/master
2022-07-21 14:33:09 +00:00
openharmony_ci
540221cf66
!1857 add -lto-O0 forark_stub_compiler
Merge pull request !1857 from yinchuang/add-lto-o0-for-stub-compiler
2022-07-21 13:41:00 +00:00
linxiang
c2a5bbf66d Incorrect use of ACCESSORS interface, and delete the Interface
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I48c1e5529d8a2a3071c1e0df09c19af041f11cc3
2022-07-21 21:19:42 +08:00
openharmony_ci
e4f8b02adc
!1855 js_date_time_format bugfix
Merge pull request !1855 from yingguofeng/master
2022-07-21 12:41:24 +00:00
lukai
70aa1290d1 utilxts bugfix
current "Log(Fatal)" log system don't abort the process, which
lead to multi-thread problems check failed.
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5I1FL?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Iffc2171b69ce6b003e5137b7b50f34f6892bd263
2022-07-21 20:38:37 +08:00
openharmony_ci
7eb4dad46f
!1861 Remove Useless Old Code
Merge pull request !1861 from Gargoyle.h/wzfmaster-dev
2022-07-21 12:15:15 +00:00
wuzhefeng
4e54dfb831 Remove useless old code
There are some useless historic code, which should be removed in order
not to impace the further developments. Its existence may lead to
incomprehensible old code that may impact the whole architecture.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: Ia05fdfef88840fd1c76fab4def986a0966c4902c
2022-07-21 04:17:49 -07:00
wanghuan
0c7ae58ca2 resolve libark_jsruntime.so BEP consistent question
desc:resolve libark_jsruntime.so BEP consistent question

solu:FuncEntryDes assigns initialize value, and new FuncEntryDes obj need memset_s to make sure padding bytes is 0.

issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5I9RG
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: Ib62830c2973dddc88792a9743bd165eddbeb0903
2022-07-21 19:00:06 +08:00
openharmony_ci
1224083a90
!1851 Refactor class Circuit's Public Interfaces (part-3)
Merge pull request !1851 from Gargoyle.h/wzfmaster-dev
2022-07-21 10:34:07 +00:00
openharmony_ci
8713291b67
!1820 TSAOT Bugfix
Merge pull request !1820 from 许杰/bugfix0718
2022-07-21 09:39:29 +00:00
wuzhefeng
039698f87e Refactor class Circuit's Public Interfaces (part-3)
To make the architecture more clear, any operations of Gates should be
performed via GateAccessor rather than inovking the low-level interfaces
of class Circuit. Therefore, most of these low level interfaces will be
decorated with private, which are only allowed to access by the closed
friend classes Verify and GateAccessor.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I8892b803056c9f5f9bf7b6611e5304ac84c22e01
2022-07-21 02:15:25 -07:00
openharmony_ci
2f536a8262
!1826 Refractor the region with AlignedStruct
Merge pull request !1826 from yingguofeng/master_region
2022-07-21 08:43:34 +00:00
yinchuang
141ec135d9 add --lto-O0 option for ark_stub_compiler
Signed-off-by: yinchuang <yinchuang@huawei.com>
2022-07-21 16:41:51 +08:00
Hailiang Hu
896f5f3cf6 tsaot add test case
tsaot add test case of large funtion, test for type infer and dominator tree

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

Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I1e2cb463e5296db48e29b2d280ea563c2616be15
2022-07-21 16:09:20 +08:00
yingguofeng@huawei.com
0a9b82336e Description:js_date_time_format bugfix
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5I7OK?from=project-issue

Change-Id: I9c968004726e2424e0f639d96020e39437f19acd
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-07-21 15:39:56 +08:00
yingguofeng@huawei.com
b4f994506d Description:Refractor the region with AlignedStruct
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5GRYV?from=project-issue

Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: If40a3f31ed00b513ba796d88ca64a69418e70a1f
2022-07-21 15:30:25 +08:00
xujie
520cda354a TSAOT Bugfix
1. Fix TSAOT partial GC bug. Add updating derived pointer logic in partial
GC and replace map.emplace with map[] preventing concurrent mark from writing
dirty data and being unable to update.
2. Fix JSCall lowering bug by acquiring exception from glue.
3. Fix acquiring lexical env from non-JSFunction bug.

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

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I5bae102129298632072ad22c06617a1f36311247
2022-07-21 15:15:50 +08:00
openharmony_ci
f0c7d16b78
!1832 refactor DISPATCH
Merge pull request !1832 from wade/master
2022-07-21 06:39:29 +00:00
openharmony_ci
a8a90aafd2
!1844 refactor compiler Stub
Merge pull request !1844 from 孙哲/master
2022-07-21 04:28:46 +00:00
openharmony_ci
f2586040e3
!1823 Modify typeinfer tests
Merge pull request !1823 from huoqingyi/typerefactor
2022-07-21 03:27:35 +00:00
openharmony_ci
57d689d7e4
!1720 Memory Leak DFX Tool
Merge pull request !1720 from yingguofeng/master
2022-07-21 03:07:45 +00:00
sunzhe23
0a8a6a35ab Refactor compiler Stub (part-1)
add InitializeArguments for arguments initialize
use marco create common stub class

issue: #I5I0ET

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-07-21 09:51:36 +08:00
wade
624079083a fix DISPATCH link https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5HWCT
Signed-off-by: wade <wengdi@huawei.com>
2022-07-21 09:29:35 +08:00
openharmony_ci
1ef734da89
!1836 support base64 encode
Merge pull request !1836 from Riachel/master
2022-07-20 14:07:05 +00:00
openharmony_ci
35f654f1c0
!1846 Modify the removeByRange of the container ArrayList
Merge pull request !1846 from chenqi/FixArraylist
2022-07-20 14:01:23 +00:00
huoqingyi
8239a5e80f Modify typeinfer tests
Description:
Currently the typeinfer test compares the gatetypes of gates with the expected types
by printing the bytecode name log and gatetype log. In order to pass the tests,
it relies on front end keeping the functions and bytecodes' order unchanged.
This is inappropriate and does not adapt to the increasing optimization of the front end.
Therefore, We need to take a more appropriate solution.
We plan to compare gatetypes of gates in Circuit IR and expected types at compile time.

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

Change-Id: Id62a39ec0fc2327ede4e3ee1e770bc65bfc891d4
Signed-off-by: huoqingyi <huoqingyi@huawei.com>
2022-07-20 20:34:58 +08:00
chenqi
fc46580e13 Modify the removeByRange of the container ArrayList
Description
    Modify the removeByRange of the container ArrayList.
Related issue
    #I5I1DC:Modify the removeByRange of the container ArrayList

Signed-off-by: chenqi <chenqi151@huawei.com>
2022-07-20 20:00:07 +08:00
openharmony_ci
07118c5696
!1831 magic number modify
Merge pull request !1831 from linxiang8/master
2022-07-20 11:52:50 +00:00
openharmony_ci
05eceff1da
!1838 fix codeCheck warning to master branch
Merge pull request !1838 from hjzhangcm/master
2022-07-20 11:26:58 +00:00
openharmony_ci
2854bbc593
!1734 enable asm interpreter defaultly and fix ut bug
Merge pull request !1734 from wanghuan2022/master
2022-07-20 11:18:52 +00:00
openharmony_ci
b6b1dd770f
!1840 cpu profiler在chrome上调试多次采样崩溃
Merge pull request !1840 from 王犇/temp
2022-07-20 11:15:35 +00:00
openharmony_ci
79ac2f52aa
!1835 Refactor class Circuit's Public Interfaces (part-2)
Merge pull request !1835 from Gargoyle.h/wzfmaster-dev
2022-07-20 10:54:18 +00:00
openharmony_ci
7aa53104f5
!1842 fix ut error
Merge pull request !1842 from weng-changcheng/fix_ut
2022-07-20 10:33:27 +00:00