18 Commits

Author SHA1 Message Date
wengchangcheng cd90e396a7 Descriptor: ark hilog refactor
details:
1. use hilog in ohos device
2. use panda logger in host
issue:  https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
xliu f9c09fc846 fix LdGlobaleVar and TryLdGlobalByName
1.Adjust the logic of IC for LdGlobalVar
2.Adjust the logic of IC for TryLdGlobalByName
3.Add set as SetAsMega for LoadMiss and StoreMiss
4.Container test case refactoring
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5CJO2

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I3c531d072c5f2e4b6508544d9420ad4817943c24
2022-06-20 10:13:02 +08:00
chenqi 666eb6b8bd Add Containers List And LinkedList
Description
    1.To ensure the high performance of container classes, List and LinkedList is provided in ark.
    2.modify Copyright 2021->2022.
    3.fix containers.
Related issue
    #I58XA9:Add Containers List And LinkedList.

Signed-off-by: chenqi <chenqi151@huawei.com>
2022-06-02 17:02:40 +08:00
Yuqiang Xian 9e88572f35 Add descriptions to concurrent marking status check.
Don't use IS_STANDARD_SYSTEM config to switch off concurrent marking.
Fix typos and grammar issues.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55HWI

Signed-off-by: Yuqiang Xian <xianyuqiang@huawei.com>
2022-04-30 20:02:19 +08:00
hjzhangcm c5808d4057 delete xxx-inl.h move the definition to the declare head file
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-04-24 13:40:46 +08:00
lukai 7653faf3fe merge bugfix from release into master
1. !888:fix gc bugs
2. !851:Fix ic store prototype bugs
3. !803:Fix Security Check Problems
4. other related ut bugfix.

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I4dd30efd176fd33fefd064aee0cb30e5fd3e0477
2022-04-02 17:49:22 +08:00
ding 03907dd85b Fix IC LoadMiss
Fix IC LoadMiss, when the op is not found, should not generate cache.

The bug occurs application can not get correct property from globalThis, add targetd test case.

Signed-off-by: ding <dingding5@huawei.com>
Change-Id: I8935fc903a26e65138608301033bfdc0c4f80e46
2022-03-24 11:09:34 +08:00
zhangyukun ad7195057a Sync code from c_asm_interpreter to master
Use Stub to impl handlers of bytecodes and use tail call to impl
dispatch of handlers of bytecodes

Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I7afabdc40ddfa11345aa1029059514aa4f55b9f8
2022-02-22 17:01:18 +08:00
zhangyukun edb4abca97 Merge new runtimetrapolines from c_asm into master
Bug: #I4TRQP

Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I55b49c3ec9f6c5f91272668ff43ef4147b9ed6c2
2022-02-16 16:49:53 +08:00
hjzhangcm 808fabd093 fix warning file
Signed-off-by: hjzhangcm <845154910@qq.com>
2021-12-24 18:37:44 +08:00
ding 8f551973b8 add global record to IC
Signed-off-by: ding <dingding5@huawei.com>
2021-10-12 17:10:54 +08:00
lifansheng 0e196664e5 modify host_test
Signed-off-by: lifansheng <lifansheng1@huawei.com>
2021-09-11 20:34:31 +08:00
lifansheng 8ac9a04cb4 modify host_test
Signed-off-by: lifansheng <lifansheng1@huawei.com>
2021-09-11 20:21:09 +08:00
lifansheng 1d77c145d6 codecheck
Signed-off-by: lifansheng <lifansheng1@huawei.com>
2021-09-11 18:21:43 +08:00
lifansheng 5c57227538 resolve ic-262
Signed-off-by: lifansheng <lifansheng1@huawei.com>
2021-09-11 17:33:36 +08:00
lifansheng 04e7b5b65c Add GlobalRcord
Signed-off-by: lifansheng <lifansheng1@huawei.com>
2021-09-10 16:34:37 +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