hjzhangcm
976b9c38c7
fix codex warning
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-07-07 17:33:05 +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
suchongwei
a69e71059a
JSON Stringify support BigInt
...
add bigint tostring when Stringify a bigint property
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5DBN9
Signed-off-by: suchongwei <suchongwei@huawei.com >
2022-06-21 14:08:03 +08:00
lifansheng
a725676a6c
Runtime architecture adjustment
...
Description
Cut out most of the initialization logic in Runtime::Create and disconnect the
inheritance relationship of most classes such as JSThread.
Issue:
#I53418: Runtime architecture adjustment
Signed-off-by: lifansheng <lifansheng1@huawei.com >
Change-Id: Ib9c1a40354f77d32e515e23334e7f4b4a4fa3259
2022-04-21 14:37:31 +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
xliu
4fb9fcc443
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
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
hjzhangcm
5e6b4af16a
Modify the symbol types of two variables in the assertion to make them consistent
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-03-24 10:17:34 +08:00
hjzhangcm
69eebc4b43
Modify symbol type
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-03-23 16:36:55 +08:00
xujie
ec6b838c94
fix jsonparse bug while parsing number
...
When parsing numbers in arrays or objects, consider this a normal
situation if the end of the number is followed by whitespace characters.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4VDDA
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: Id71f48cc1b2acc4a4b486d38d0036a144a595e54
2022-02-26 12:01:54 +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
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