Commit Graph

19 Commits

Author SHA1 Message Date
huangzhenghua
4d68d80c28 primitive_scope part3
delete JsPrimitiveHandle, directly overload the JsHandle constructor
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: Ifc04212cf2241b9764acbdb76a89ebd0b07fa3dc
2024-05-10 12:29:07 +08:00
huangzhenghua
91e54b81b6 primitive_scope part2
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: Ifb7358f808fecca12f4bc7fc7815211806fa287a
2024-05-07 10:52:20 +08:00
huangzhenghua
c01419af99 add primitive scope
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9JOCV
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I33de0139974bc60eb7887b45e26c90e6f184d06e
2024-04-26 11:25:20 +08:00
xiaoweidong
b27afd924d [JIT] support concurrent compile
Change-Id: I3d1db40eb479434875a9952c0f5f9279ff67cdaa
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-04-15 14:04:05 +08:00
liuzhijie
c48127bca8 Global IndexMap
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8HA58?from=project-issue
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>

Change-Id: Ie3c1682f86b43e6ae8e759ad89ed57343f89db8c
2023-11-24 14:12:39 +08:00
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