zhaozhibo
cc222126ad
fix codeDex warning.
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-14 10:56:51 +08:00
zhaozhibo
f9eb8d2051
fix code warning for codeDex
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-12 14:27:50 +08:00
openharmony_ci
56f7423645
!970 Fix a bug
...
Merge pull request !970 from Gargoyle.h/wzfmaster-dev
2022-04-10 16:22:45 +00:00
wuzhefeng
14f8b05537
Fix crash bug
...
The feature of TSAOT should be switched off/on via jsoptions. This PR
adds such missing control logic and fix the crash during vm setup.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51Y3O
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I211cf41b814566502f8de5135e5fc006beb71375
2022-04-10 08:22:36 -07:00
openharmony_ci
b033e1ca59
!900 SnapShot serialize and deserialize by using ObjectXray visit object field
...
Merge pull request !900 from dingwen/master
2022-04-10 11:38:42 +00:00
dingwen
1a2fdbb738
Add snapshot generation step for aot compiler and testing entry of aot compiled function.
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4ZOXH
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I2a52b06453f48407c418e57b3ce62e710042768b
2022-04-10 14:59:33 +08:00
dingwen
861d97bb87
SnapShot serialize and deserialize by using ObjectXray visit object
...
field
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4ZOXH
Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I6e03cfb4f7b89786b612b56adc0877f8b178058e
2022-04-10 12:32:07 +08:00
openharmony_ci
ec918cd9f0
!969 [part-1] support watch expression
...
Merge pull request !969 from changcheng/call_entry_and_return
2022-04-09 17:06:23 +00:00
openharmony_ci
425d8fdf64
!967 Runner task multithreading problem
...
Merge pull request !967 from xliu/test_master
2022-04-09 15:15:31 +00:00
wengchangcheng
a8ad8ca60f
[part-1] support watch expression
...
1. delete unused execute arguments
2. support select execute entry
3. support get execute return value
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51MKR
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I40139e2f4afa36ad7d169d7f6c367a62a40bf476
2022-04-09 22:53:42 +08:00
openharmony_ci
bef8e0e76b
!968 AOT Slowpath Lowering
...
Merge pull request !968 from Hailiang/aot_lowering
2022-04-09 13:56:01 +00:00
Hailiang Hu
1dc39ca357
Add AOT Slowpath Lowering
...
Lowering for NEWLEXENVDYN, NEWLEXENVWITHNAMEDYN, POPLEXENVDYN.
Issue: I51VGS
Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I001c7bd23c03d2dbc0a1647a652c289204a8dc92
2022-04-09 19:35:17 +08:00
xliu
8cc9061625
Runner task multithreading problem
...
Description
1. The runner task will crash probabilistically in the case of multithreading.
2. Add locks in the runner task to solve the problem of multi-threaded
concurrent access.
Issue:
#I51UZB: Runner task multithreading problem
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I04afedd505b90d0ba8124b9a88d398234f71f3be
2022-04-09 17:04:57 +08:00
openharmony_ci
4cfc48e5f6
!945 NewEcmastring Rectification
...
Merge pull request !945 from xliu/modif_new_ecmastring
2022-04-09 04:59:03 +00:00
xliu
bddb55c976
ObjectFactory New Ecmastring Rectification
...
Description
1. There are many kinds of interfaces to construct ecmastring from objectfactory
in the virtual machine, and the name is not clear, so it is complex to use;
2. Some of the unchecked interfaces are prone to errors during use. If there is
no compression where compression is required, unpredictable errors will occur.
Issue:
#I4ZL7X: ObjectFactory New Ecmastring Rectification
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I856f4e2e1df62823d928d738fa35affa97dbd3ed
2022-04-09 10:34:11 +08:00
openharmony_ci
4fdb9f0e0c
!959 fix BuildNativeAndJsBackStackTrace theadcheck
...
Merge pull request !959 from 苏重威/master
2022-04-08 14:20:54 +00:00
openharmony_ci
c81cacc8a1
!903 Fast Regexp
...
Merge pull request !903 from 许杰/fast_regexp
2022-04-08 10:15:09 +00:00
xujie
ff8cc28a08
Fast Regexp For MediaQuery Plugin In AceJSTest
...
1.Add Regexp Cache in builtins String match and replace;2.Extend cache
added for regexp replace;Inline regexp op function;4.Use fastpath to
replace slowpath interface.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5109P
Change-Id: I3a14211edb8f01833c2e94a22f3bbda297392b07
Signed-off-by: xujie <xujie101@huawei.com>
2022-04-08 17:07:40 +08:00
scw
08d9544b65
fix BuildNativeAndJsBackStackTrace theadcheck
...
BuildNativeAndJsBackStackTrace call GetJSThreadNoCheck to get thread
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I51QT4
Signed-off-by: scw <suchongwei@huawei.com>
2022-04-08 16:19:43 +08:00
openharmony_ci
3acc62d408
!498 FFI optimization
...
Merge pull request !498 from guobingbing/master
2022-04-08 01:59:44 +00:00
openharmony_ci
ab4f6bc104
!950 fix compiler error of line_program_state.h
...
Merge pull request !950 from changcheng/fix_compile_error
2022-04-07 14:05:29 +00:00
guobingbing
96190e252b
FFI optimization for call params
...
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: I61b820e91b85364e4f41d35ca0172ad059a1b916
2022-04-07 21:13:46 +08:00
openharmony_ci
a6277d8a38
!948 [part-1] delete inl.h, move the definition to the declare head file
...
Merge pull request !948 from changcheng/fix_inl_head_files_part1
2022-04-07 11:30:16 +00:00
openharmony_ci
094210fccf
!863 use rsp to construct frame of asm interpreter(x64)
...
Merge pull request !863 from zhangyukun8/master
2022-04-07 10:09:56 +00:00
zhangyukun
8c65a79097
Add dispatch of call of x64 and construct frame with rsp in .S
...
1. use stub to dispatch fast,slow and native paths
2. use rsp to construct frame of x64
https://gitee.com/openharmony/ark_js_runtime/issues/I51G9L?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: Ib80540df5dbe531f155e5dd9fce556a207171494
Change-Id: I31e6705dd5555a0c2a9070a7ce73b26f77caef80
2022-04-07 14:32:38 +08:00
wengchangcheng
8faa5f9abc
[part-1] delete "*-inl.h" of newest codex rule
...
move the definition to the declare head file
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I512HV
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ieeb0ec96281cda51d0bebd6a2e771fc8d4078306
2022-04-07 14:14:49 +08:00
openharmony_ci
910c9724b9
!926 Add Aot SlowpathLowering and Add CompilationConfig to circuit builder
...
Merge pull request !926 from lijincheng/master-merge
2022-04-07 03:54:49 +00:00
wengchangcheng
b1cff3c61a
fix compiler error of line_program_state.h
...
delete line_program_state.h, and use line_number_program.h
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51H6M
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Iae277768bbe3a4c3945d6416be84a53a0456c5d5
2022-04-07 11:39:22 +08:00
lijincheng
24abde2d62
Aot Lowering
...
1.lower GETNEXTPROPNAME_PREF_V8, COPYDATAPROPERTIES_PREF_V8_V8, CREATEOBJECTWITHEXCLUDEDKEYS_PREF_IMM16_V8_V8
CREATEREGEXPWITHLITERAL_PREF_ID32_IMM8, STOWNBYVALUE_PREF_V8_V8, STOWNBYINDEX_PREF_V8_IMM32, STOWNBYNAME_PREF_ID32_V8
DEFINEGENERATORFUNC_PREF_ID16_IMM16_V8, DEFINEASYNCFUNC_PREF_ID16_IMM16_V8, COPYMODULE_PREF_V8
2.move CompilationConfig to CircuitBuilder. Enable aot's ability to identify platform differences.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I50KAB
Signed-off-by: lijincheng <lijincheng13@huawei.com>
2022-04-07 10:30:33 +08:00
openharmony_ci
9eafad9ba9
!938 merge bugfix from release into master
...
Merge pull request !938 from lukai/merge-from-release
2022-04-06 16:08:56 +00:00
openharmony_ci
a9784105e0
!940 Done! 全量翻译---JS Runtime
...
Merge pull request !940 from wusongqing/master
2022-04-06 15:12:51 +00:00
openharmony_ci
a41b0388e5
!947 refactor debugger for performance
...
Merge pull request !947 from changcheng/refactor_debugger
2022-04-06 15:06:47 +00:00
openharmony_ci
22dc6e6b41
!946 Enable Call Stub
...
Merge pull request !946 from 李晨帅/master
2022-04-06 14:28:27 +00:00
openharmony_ci
05f069f9a7
!946 Enable Call Stub
...
Merge pull request !946 from 李晨帅/master
2022-04-06 14:28:26 +00:00
wengchangcheng
77419fc108
refactor debugger part-3
...
1. get extractor from JSPandaFileManager
2. cache extractor map with url as key
3. get sourcecode from mainIndex, instead of traversal all methods
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51E4Y
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I8ae35d65318bb0969a2ce80c42993ae535462de4
2022-04-06 22:04:29 +08:00
openharmony_ci
5558beaa50
!942 add a unit-test for BuiltinsRelativeTimeFormat
...
Merge pull request !942 from hjzhangcm/master
2022-04-06 13:13:47 +00:00
openharmony_ci
869c22ee3a
!931 Aot lowering
...
Merge pull request !931 from wanyanglan/master
2022-04-06 13:08:46 +00:00
hjzhangcm
06cd53cddf
add test case for BuiltinsRelativeTimeFormat and modify the problem of probabilistic hanging of use cases
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-04-06 20:11:41 +08:00
openharmony_ci
dd4357c6e5
!944 Implement Fast ToBoolean
...
Merge pull request !944 from 孙哲/master
2022-04-06 12:04:40 +00:00
lichenshuai
2dd61d1d0d
Enable Call Stub
...
Fixed Call Stub bug, Enable Call Stub and synchronize new stackless to interpreter_assembly.
Issue: #I51E2F
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I2116850e55bc651acc71bc1baa99aa2c4e1b578c
2022-04-06 20:00:22 +08:00
openharmony_ci
0bd1e98da6
!927 refactor debugger part-2
...
Merge pull request !927 from changcheng/fix_gn_warning
2022-04-06 09:32:56 +00:00
sunzhe23
43ffb0cf16
Implement FastToBoolean for asm interpreter
...
Issue: #I51BQ5
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-04-06 02:32:09 -07:00
wanyanglan
e7342acada
Aot Lowering
...
lower NEWOBJDYNRANGE_PREF_IMM16_V8, JEQZ_IMM8, JEQZ_IMM16, JNEZ_IMM8, JNEZ_IMM16
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I515NO
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: Ia8ebbb51f39cce5b3be69c1a39aa39a0cd74ad81
2022-04-06 17:29:14 +08:00
openharmony_ci
3f8034a2c2
!928 bugfix for type cast error
...
Merge pull request !928 from lukai/master
2022-04-06 09:25:41 +00:00
openharmony_ci
de1f3d645f
!941 fix FastTypeOf error in bigint
...
Merge pull request !941 from wanghuan2022/master
2022-04-06 08:56:36 +00:00
wengchangcheng
cdfab120f0
refactor stl container
...
1. using runtime container instead of stl container
2. change debugger line amd column type to int32_t
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I50NHW
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I0eb4651f17c6f6894f11de1ba904bcbe83a57db7
2022-04-06 16:05:22 +08:00
wanghuan
0569976345
fix FastTypeOf error in bigint
...
des: fix FastTypeOf error in bigint
solution:
1. add big int type judgment.
2. change variable name to be reasonable.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I51A5R
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I7f3284ea6d98b006c2df80585f7c946a0a4c1790
2022-04-06 15:38:33 +08:00
wusongqing
6c5d965405
updated docs
...
Signed-off-by: wusongqing <wusongqing@huawei.com>
2022-04-06 14:59:25 +08:00
wusongqing
03352199bc
updated docs
...
Signed-off-by: wusongqing <wusongqing@huawei.com>
2022-04-06 14:56:32 +08:00
openharmony_ci
5524ee2872
!933 add a unit-test for BuiltinsDateTimeFormat
...
Merge pull request !933 from hjzhangcm/master
2022-04-06 05:58:12 +00:00