Commit Graph

20 Commits

Author SHA1 Message Date
lukai
783fa0a6d2 Forbidden Calling GetJSThread by Region
Forbidden calling getJSThread by region
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8VGW7?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Ieb42714f4ed7c44194134f4f0b4845217ef44d5e
2024-01-19 17:38:00 +08:00
maojunwei
50c4b2f2f4 fix obj is proxy when getproperty
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8TXZQ

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I4250da1cdf0fa908cfb7838451563c261b9071c6
2024-01-06 15:51:42 +08:00
yaochaonan
bfaa39a31e Optimize Object.keys, Array.foreach, Map, Set, WeakMap, WeakSet
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Z6NE?from=project-issue
Signed-off-by: yaochaonan <yaochaonan@huawei.com>

Change-Id: Ied4e891b35cb02f85df512f3339247a2a01fe73e
2023-09-11 16:32:50 +08:00
hwx1163501
7b47de5a55 Fixed data type under builtins (int->uint)
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LLDJ
2023-07-20 16:48:27 +08:00
hwx1163501
e4575f4339 Code modification alarm
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MBHD
2023-07-19 15:05:46 +08:00
openharmony_ci
b0ba8a74b0
!4402 THROW_TYPE_ERROR_AND_RETURN Part 1
Merge pull request !4402 from 王笑佳/jsTaggedCpp
2023-07-10 13:14:32 +00:00
王笑佳
d38cf79e09 Fix THROW_TYPE_ERROR_AND_RETURN Part 2
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JW58

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-10 14:05:59 +08:00
王笑佳
f2c60fbed0 Fix THROW_TYPE_ERROR_AND_RETURN Part 1
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JU9Q

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-10 10:24:40 +08:00
g00416891
fa5b47c71a Explicit only works on single-argument constructor
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ia9bfc1e905962127d2afea6adb21704d4f0cd6d0
2023-01-03 11:06:16 +08:00
wengchangcheng
f985a8a1c0 Descriptor: Modify some bug
Details: Add exception check after call

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I3e957a37c30ab084a03168520d5cddc070a78fc0
2022-09-15 17:53:34 +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
hjzhangcm
297e669763 Rectify template problems
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
Change-Id: I3c156fc6d4b84ec14ec568c1ba36dda9aea34748
2022-04-22 09:44:50 +08:00
yingguofeng@huawei.com
8d04461654 Refactor the funtion of foreach for set/map
The implementation of foreach does not comply with the specification, resulting in poor performance

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I51V3S?from=project-issue

Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: Ibe5682f1354f2e7fa6e7f565321f47ef197c8d08
2022-04-11 12:49:43 +08: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
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
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
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