Commit Graph

23 Commits

Author SHA1 Message Date
yingguofeng@huawei.com
169977e926 Feat(Aot): PGO ArrayLiteral elemnetKind for array aot opt
Issue: #I7NYFW
Change-Id: I59ed5b9c377f2ce6bad2723795309099e015f8df
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-08-09 23:09:42 +08:00
quiet-thought
3fe4f36d1c [Bug]: Bugfix on Array.slice call ArrayCreate to create dictionary mode array
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7M4TV

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I01d729837f59ea9197686f3144a688ec1429ae54
2023-07-19 12:12:58 +08:00
g00416891
f536dc7338 Code Review for Builtins Array &BufferArray
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I4335220f59764dcd8cf2533f1ee946dfd97c10db
2023-07-18 17:03:12 +08:00
王笑佳
b48718a73a Fix THROW_TYPE_ERROR_AND_RETURN Part 3
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7K5YC

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-14 16:16:09 +08:00
maojunwei
ef45c79258 Bugfix:fixed setelements to dictionary mode array
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DJJ2

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I6ae673f1c5ab2f769f653bd8207969c35d981121
2023-06-19 11:52:15 +08:00
sunzhe23
f525b1d995 Remove Load/StoreElement elementsLength check
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7C16C

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-06-08 18:50:14 +08:00
weng-xi
7fb2c016d7 Add object_fast_operator file
1. Add object_fast_operator file as the middle layer.
2. move store/load method from fast_runtime_stubs to object_fast_operator
3. delete fast_runtime_stubs fastGet/SetProperty methods, and move them to object_fast_operator

Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6AZSI
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: If4aebd3a0723eda641e214d81838caebf193aac2
2023-01-18 13:52:15 +08:00
xiongluo
1291aa23a9 cow array optimize
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5V3ET?from=project-issue

Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-10-26 11:37:49 +08:00
huangzhenghua
269bdc5d5e Modify unreasonable double type
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5QF0H
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>

Modify the function of array, arrayHelper, typeArray, typeArrarHelper

Change-Id: Ib0c1c77de232b2d18b983ef0377e550bf513e067
2022-09-09 22:43:01 +08:00
dingwen
5a80fa51db Fix ArrayCreate miss throw exception bug
Description:Add throw exception when new jsarray
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NTVB

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Icfef6cf0d9f55e82d7c64958845a803208a0b74d
2022-08-24 11:00:21 +08:00
linxiang
1e4b7c9dc6 fix issue: return JSTaggedValue::Exception to JS-World, which cause 0xa problem
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5MF7J

Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: Ic004e99bb1b0b604dcb77176340c349845d94f3e
2022-08-15 22:37:14 +08:00
linxiang
4a082f4f0b use full-path for all headers.
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I20b5cf6245799839362b1999d3d9fb6955bf609a
2022-07-25 20:32:55 +08:00
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
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
scw
e339c93829 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
cc222126ad fix codeDex warning.
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-14 10:56:51 +08: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
wengchangcheng
99934b9037 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
6dc6688270 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
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
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