Commit Graph

10 Commits

Author SHA1 Message Date
lifansheng b39418de15 issue:#I4P7EY
Reason: To support AOT compilation, add ts type system to provide some
    interfaces and struct to wrap ts type and help type infer

    Description: create the global class TSLoader to expose the external
    interfaces, create the TSType and it's derived class, TSClassType,
    TSClassInstanceType, TSImportType and so on to wrap ts type in runtime.

    Add TDD unitest.

Signed-off-by: lifansheng <lifansheng1@huawei.com>
2022-02-22 16:50:20 +08:00
yingguofeng@huawei.com 1d9b2ac3dd nativePointer optimization
Change-Id: I97b58375c2ec30f33778d7f11fb40a9cf0ed346b
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2021-12-23 19:40:54 +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 dafdd642a6 copy all testcase resources and fix codestyle
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2021-10-21 20:55:46 +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
openharmony_ci 679cb0e344 !185 Reconstruct code for readability.
Merge pull request !185 from 李晨帅/master
2021-10-20 01:28:09 +00:00
wengchangcheng 0df116c213 fix EcmaModule RemoveItem bug when dictionary update
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2021-10-19 21:28:25 +08:00
lichenshuai c6b37545d7 Reconstruct code for readability.
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
2021-10-19 14:51:14 +08:00
wengchangcheng 09ed64e38a fix gc bug of EcmaModule
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2021-10-19 14:12:40 +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