Commit Graph

14 Commits

Author SHA1 Message Date
ginxu
2ac472acd9 Support Inline Deopt
1. Add frameStateChain op for inline deopt.
2. Modify the deopt logic to support multiple interpreter frames.
3. Fixed some bugs that occurred when inline was enabled.
4. Support trace inline function tools.
5. Add some testcases.
6. Add some inline condition which some scenarios that might occur inline are filtered.

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

Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I30127640fcd150c3c3badf2dd5c805a7b6733c42
2023-05-13 10:46:38 +08:00
hzzhouzebin
510f12a8f7 Make --log-level work
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I711PJ
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I2f46362bdf143a9a9c16871ddebdc9d4af24d011
2023-05-09 14:43:59 +08:00
gongyuhang
305bfe9a19 Support compiling targets of android_arm64
Add macro ENABLE_ANLOG to represent for part of the situation related to
macro PANDA_TARGET_ANDROID. Without defining macro ENABLE_ANLOG, we could
choose log logic implemented in arkcompiler for ark_standalone_build,
instead of android's log. Thus, we could keep defining PANDA_TARGET_ANDROID.
(Keep ENABLE_ANLOG and PANDA_TARGET_ANDROID, until cross-platform does not
need PANDA_TARGET_ANDROID.)

Issue: https://gitee.com/openharmony/arkcompiler_toolchain/issues/I6WBSF
Test: tests of ark_standalone_build
Signed-off-by: gongyuhang <gongyuhang7@huawei.com>
Change-Id: I198dac5adea6d350956bcfca8b0eb527857e4ad2
2023-04-17 18:18:54 +08:00
Zhenyu Pan
35fb56d77f Add "release" compile option on Android and hide dynamic symbols which should not be public
Description:
1. Add "release" option to isolate debugger and profiler function of
   ArkCompiler when compiling for Android.
2. Change visibility of APIs on Android from "default" to "hidden"
3. Only public APIs that are in the "libark_jsruntime.map"

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

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I711a8366769cc32334138fd1255612ba5bdf5330
2023-02-17 13:56:10 +08:00
ding
d37f6d4596 AOT and ASM-Interpreter share builtins stub with call and new
1.Support new Builtins Constructor in Builtins Stub framework.
2.Support invoking Builtins Stub both ASM interpreter and AOT.
3.Add BooleanCosntructor implementation in Builtins Stub.
4.Add new log component: builtins
5.Add corresponding test case which can trace builtins execution path.
6.Add iterate stack map handler when entering by assembler.

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

Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ie3a485a0383464ecc0b42be0a21baf50bb35bc21
2022-11-28 19:15:55 +08:00
wengchangcheng
8af2cd1e8b Descriptor: Fix multi constantpool bug and add testcase
Details:
1. Dont modify constpool in Method
2. Modify wrong cast of int16 to int32
3. Re-generate Constantpool when create Method
4. Add testcases of multi-constantpool

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>

Change-Id: Ia76d5235eadba3cc117c3f0567044fd988dbfd1f
2022-10-19 15:00:56 +08:00
wengchangcheng
7430135f83 Descriptor: Support print runtime core log
Details: Initialize logger when CreateJSVM

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I08555b6cf52367e275eed46466ae653b0ecf9780
2022-09-28 20:59:16 +08:00
wengchangcheng
523b7f9afe Descriptor: Fix test262
details: Fix test262
issue: Fix test262

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I8bec8bc9ae26e9d0e36707ef0da6935817fd3b35
2022-09-22 21:37:23 +08:00
wengchangcheng
f72a872995 Descriptor: fix ut and arm64 compile
details: fix ut and arm64 compile
issue:

Change-Id: I12e12e2b06de2a4a645bb62b4b2f7c40b26f7041
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-09-21 19:50:49 +08:00
sunzhe23
8eef4a9032 fix aot compiler bug, add log ecma
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-09-20 23:17:00 +08:00
wengchangcheng
454be10c7a Descriptor: Support log componnet and fix some unittest
details: Support log componnet and fix some unittest
issue:

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ia34265faceedfbb61a8eadc0a881c1949e6e3a07
2022-09-20 17:19:03 +08:00
Zhenyu Pan
aaa1f5c447 Add android log module, modify gn file for compile with ndk
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5MXIZ

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Iefe1af59a615f87b8e1e2fb6f759bb64316199c6
2022-08-25 10:24:28 +08:00
Riachel
ddc6d97ddd Descriptor: delete base_options.h
details: delete base_options.h
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5M2QW

Signed-off-by: Riachel <caolili14@huawei.com>
2022-08-18 09:59:22 +08:00
Riachel
2df62a6a96 Descriptor: modify LOG_ECMA
details: delete libpandabase/utils/logger.h
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5KTRL

Signed-off-by: Riachel <caolili14@huawei.com>
2022-08-10 17:21:58 +08:00