Commit Graph

19 Commits

Author SHA1 Message Date
li-tao116
a861ac2183 refactor ModuleDataAccessor::EnumerateImportEntry
Signed-off-by: litao <litao@kaihong.com>
Change-Id: I946d5b20a5167f86cb0ce0163c7309a914358821
2024-05-27 14:58:31 +08:00
DaiHN
03892a9864 Support shared module
issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9BIE5

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7cecbb668131d2279966749be68a02a6127f7ac9
2024-04-07 20:04:00 +08:00
wengchangcheng
59fae0812a Fix compiler fail
Fix standalone build fail

Issue: https://gitee.com/openharmony/arkcompiler_toolchain/issues/I869QD

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ie9349d8d22a7f0b6ccd40ce2ff36cf947580302e
2023-10-09 13:53:57 +08:00
Onlynagesha
180e0a3f87 Fixes circular header dependency
Eliminates circular header dependency in some fundamental headers like
js_thread.h, js_tagged_value.h, etc.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7ZPL4

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: I5a78073992b77643718abdc1e0813485c0e439bb
2023-09-08 19:05:41 +08:00
openharmony_ci
3349dc7ab1
!3659 Fix loadedJSPandaFiles for native memory leak
Merge pull request !3659 from guobingbing3/optimize
2023-04-11 12:34:55 +00:00
DaiHN
9baaa9469a Bugfix of inaccurate index when using "Export... as ..."
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6U1P9?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I68309a13068fa1bf578bfbd8867a074af56fc3d9
2023-04-11 14:42:48 +08:00
g00416891
b4054bf631 Refactor loadedJSPandaFiles for memory leak
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6J2G8?from=project-issue

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ia8b70f4a0d0bdd67c82369c699b5687b949559c2
2023-04-07 14:57:06 +08:00
g00416891
8e845313e5 Optimize LiteralDataExtractor
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6DLG8

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I1ed5fb2d71cee484430952d6a0816e3a780ec6bc
2023-02-08 10:43:02 +08:00
wengchangcheng
2cdbecaeb9 Descriptor: Encapsulate some interface in PandaFile
Details: Encapsulate GetStringData and use JSPandafile instead of File

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ied940326ea2913337db013e1ab1bf57b6f56162b
2023-01-03 15:16:51 +08:00
wengchangcheng
4feda79505 Modify module for new isa
1. Init and get module environment by index
2. Set and get module var and namespace by index
3. restore binding with index and module or namespace

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I8bf3f6245e047d95ec1afd5d4475e6f8405ae77c
2022-09-19 14:26:06 +08:00
lifansheng
79ec5a3c8d Remove Module redundancy code
issue: I5Q46U
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I695912a2561a52ffeeb43c5def14a3f4f3c306dc
2022-09-07 18:34:35 +08:00
lifansheng
2110e9faf0 Rduece SourceTextModule Size
issue: I5MM8C

Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: Ib7a5ad7787a740dc6c834992fd82458e184b4012
2022-08-18 20:14:15 +08:00
lifansheng
5e4425665f BugFix: Fix NewImportEntriy bug
issue: I5MNPJ
Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I30ad0d7375054392e4438fb3d81f60344ecf1452
2022-08-17 11:11:01 +08:00
linxiang
4a082f4f0b use full-path for all headers.
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I20b5cf6245799839362b1999d3d9fb6955bf609a
2022-07-25 20:32:55 +08:00
lvfuqing
fffa07375c Header file redundancy rectification
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5GKV5

Signed-off-by: lvfuqing <lvfuqing1@huawei.com>
Change-Id: I6a1dea9dfcce6e4ab92e80ebfc152074dfc7e4ec
2022-07-18 19:58:44 +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
a6bd2ee220 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
zhaozhibo
74c8d071c5 Fix internal issue list problem
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-03-14 17:42:27 +08:00
y00576111
6dc6688270 EcmaScript Standard Module Implementation
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification

issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT]

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00