Commit Graph

14 Commits

Author SHA1 Message Date
wengchangcheng
92d3f56507 Fix some bugs and JSMutableHandle use error
1. fix some bug report by compiler warning
2. don't cast JSHandle to JSMutableHandle

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I0df90295dd7a01f59c6e39027afe419a8b4e0322
2023-02-27 11:00:36 +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
Berlinnerly
8225a613ba Code alarm cleaning
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5SJ3B

Signed-off-by: Berlinnerly <zhouwenxuan1@huawei.com>
2022-09-23 09:42:02 +08:00
wengchangcheng
cc184ba66c Descriptor: delete some internal unused code
details: delete unused code
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5COHE

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5fe62c58353839d4aac1144fc99e2cf87f4374eb
2022-06-17 23:03:42 +08:00
hjzhangcm
6f90738f64 describe:Modify static alarm
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5AA9J

Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-06 11:34:06 +08:00
lifansheng
b04d8ae921 issue:I58LHF
modify JSHandle which disconnect the inheritance from class HandleBase

Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Id2803aa3df93a4c66a79d56e5245448a95212606
2022-05-21 18:37:00 +08:00
lifansheng
fc5f3427ae Revert JSHandle dicconnet Handle commit
Signed-off-by: lifansheng <lifansheng1@huawei.com>

Change-Id: Ia5aa85446edec7d5fe9b1b5ba15e3585e4946639
2022-05-20 17:50:09 +08:00
lifansheng
145b74ad2f issue:I5693V
modify JSHandle which disconnect the inheritance from class HandleBase

Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I2ca99847b0f5aacbb8a072eb12a14cf0eadedd15
2022-05-07 15:06:06 +08:00
luochuhao
905d0496dc Refactor ID definition and callSignature initialization mechanism of stubs
Refactor ID definition and callSignature initialization mechanism of runtime stub,
optimizer stub and bytecode handler stub,
reduce amount and complexity of macro used in calling those stubs.

Add stubDes struct to classify stubs both in AOT file generation phase
and AOT file loading phase.

Fix some circular dependency problems in including header files.

Fix certain inline function declaration and definition format problems, which could lead to
compiling errors.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4VMLD?from=project-issue
Test: stubTest(unit test), richards with asm interpreter enabled
Signed-off-by: luochuhao <luochuhao@huawei.com>
Change-Id: Ibd5fcd963347b97f8dec227f3245d2064463b0b0
2022-03-18 22:01:52 +08:00
sunzhe23
8aa1664de5 refactor runtime trampoline id
Description:
add runtime_trace for runtime trampoline
mov runtime_trampolines.cpp info cmascript/trampoline/
rename FAST_STUB_ID as RUNTIME_CALL_ID

issue: #I4XBC9

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-03-11 02:17:24 -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
17c7fedf8c Ark adapt for ACE2.0
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>

Change-Id: I25881189fde9386fe1a73813ef0b1d1333d97a2d
2021-09-14 19:11:47 +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