guobingbing
d8699d3ab9
modify annotation of InterpretedFrame
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I1deb88080eb89e27252629d8501005d49fe76adf
2022-05-12 10:22:18 +08:00
scw
7b302f3905
Stringify support TypedArray
...
Support Stringify a TypedArray object
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I53K0R
Signed-off-by: scw <suchongwei@huawei.com >
2022-04-19 20:16:09 +08:00
zhaozhibo
398ac87a36
fix codeDex warning(3)
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-17 15:23:43 +08:00
zhaozhibo
71f2d7e0eb
Merge branch 'master' of gitee.com:openharmony/ark_js_runtime into master
2022-04-14 02:57:27 +00:00
zhaozhibo
a57029dc79
fix codeDex warning.
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-14 10:56:51 +08:00
DaiH
99f7f4bd0a
Get Object Literal's Hclass From Cache
...
Signed-off-by: DaiH <daihuina1@huawei.com >
https://gitee.com/openharmony/ark_js_runtime/issues/I4XVBQ
Sovle the problem that generate object without sharing Hclass, when object's Hclass have same shape.
Get Object Literal's Hclass From Cache
Change-Id: Ia17d056e32acd3356be138051f273c0cf50d82ee
2022-04-11 21:57:35 +08:00
xiongluo
2e3d07b336
Fix long gc duration problem in photos app
...
Add handle scope to avoid the large number of root nodes.
Remove unnecessary handles in the critical path.
Adjust the parameters in gc to avoid multiple consecutive Old GCs.
Signed-off-by: xiongluo <xiongluo@huawei.com >
2022-04-10 20:45:15 -10:00
guobingbing
589234007e
FFI optimization for call params
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I61b820e91b85364e4f41d35ca0172ad059a1b916
2022-04-07 21:13:46 +08:00
xujie
e768c0ae16
Fix stringify bug for supporting proxy object
...
Add processing logic to handle proxy objects and avoid code logic from entering
serialize proxy.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZLYT
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: If8c7c59bb9e0d6c156b13c5badf3c3f489c2b146
2022-03-25 17:26:05 +08:00
wengchangcheng
4804cd80d3
add Wextra and Werror in gn args
...
1. add -Wextra and -Werror to check code format error
2. modify all compiler error
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZDQE
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: If5fdd1980494269b4c06bf1bb38a8eba7952adea
2022-03-24 21:45:19 +08:00
y00576111
a1796a573e
EcmaScript Standard Module Implementation
...
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification
issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT ]
Signed-off-by: y00576111 <yaojian16@huawei.com >
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
wengchangcheng
65ce5ee62d
fix jspandafile of framework file and aot info
...
1. delete unused logic of framework pandafile
2. refactor native pointer callback
3. fix bug of generate aot info
https://gitee.com/openharmony/ark_js_runtime/issues/I4VSSL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I3ba318a0bc2c0e95afff6473ff106bc8b5c9dfe4
2022-03-04 15:29:27 +08:00
xliu
23c75c7b84
fix TryLdGlobalByName and LookupPropertyInlinedProps
...
Description
fix bugs of TryLdGlobalByName and LookupPropertyInlinedProps
Add test cases for global aeecssor.
Related issue
#I4TZT1: fix TryLdGlobalByName and LookupPropertyInlinedProps
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: If4b78a136ed2299a1ae1848d8c248f5265996905
2022-02-17 13:00:20 +08:00
wengchangcheng
2bfd68c01a
modify ACCESSOR for EcmaString and TaggedArray
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I2995dc75ed34e8eb2bf249f2cced62ec9d91250e
2022-01-17 11:51:50 +08:00
ding
c4ffd76fd3
template class
...
Signed-off-by: ding <dingding5@huawei.com >
2021-12-25 09:51:43 +08:00
zhangyukun
a97747fe18
Description:sync from code from wgr_master to ohos
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
wengchangcheng
9a7fcb6e3c
fix container using error and gc bug
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2021-10-20 18:00:44 +08:00
yingguofeng@huawei.com
104878d175
Delete JSNativeObject
...
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: I2f4a2e518497bf1f8a4724c63ef566cefed28271
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2021-10-09 15:28:48 +08:00
xujie
fa3ad69451
resolve issue of taking 2 seconds to response after clicking mediaquery
...
Signed-off-by: xujie <xujie101@huawei.com >
2021-09-11 11:07:11 +08:00
zhangyukun
7ffcc4b20f
Sync js_runtime to openharmony
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
2021-09-08 09:20:53 +08:00
wanyanglan
86cfe52253
add ark js_runtime
...
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00