Commit Graph

1436 Commits

Author SHA1 Message Date
openharmony_ci
7cbbb8a243
!1093 Delete useless code dependencies.
Merge pull request !1093 from yingguofeng/mmap
2022-04-24 16:26:56 +00:00
openharmony_ci
96390ade75
!1102 Add X64 Assembler Instructions
Merge pull request !1102 from wanyanglan/master
2022-04-24 12:44:11 +00:00
openharmony_ci
aba20ac860
!1114 AOT Lowering Test of arithmetic operation
Merge pull request !1114 from Hailiang/aot_lowering
2022-04-24 12:06:55 +00:00
openharmony_ci
1627729df9
!1112 remove prevSp in EcmaRuntimeCallInfo
Merge pull request !1112 from guobingbing/optimize
2022-04-24 11:43:40 +00:00
Hailiang Hu
c0e5b21c0c AOT Lowering Test of arithmetic operation
Add cases of shl2dyn, shr2dyn, ashr2dyn, and2dyn, or2dyn,
xor2dyn, expdyn, and combine with types of int, neg int,
float, string, and so on.

Issue: #I54FKT

Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: Ida8164202738b0882635472d1708a5cdc07679ea
2022-04-24 19:26:44 +08:00
guobingbing
caa05ba83a remove prevSp in EcmaRuntimeCallInfo
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: I3a3517cc8712baa6eef76f85a9967dd95a085bbc
2022-04-24 19:04:24 +08:00
openharmony_ci
36499b4aaf
!1098 debugger refactor
Merge pull request !1098 from Gymee/perf_tune
2022-04-24 11:02:16 +00:00
yingguofeng@huawei.com
5037c8aac6 Delete useless code dependencies
To reduce 'libark_ jsruntime.so' ROM size, delete useless code dependencies.

https://gitee.com/openharmony/ark_js_runtime/issues/I541H4?from=project-issue

Profit: libark_jsruntime.so size reduce from 3455(kb) to 2001(kb)

Change-Id: Ie7430fca6f539c9baff1f4aae7942da6fc9ef135
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-04-24 18:02:32 +08:00
openharmony_ci
a311c83f4b
!1049 Bytecode_circuit_builder SUB2DYN_PREF_V8 bug fix
Merge pull request !1049 from songzhengchao/ts_sub
2022-04-24 10:02:10 +00:00
wanyanglan
99364d2407 Add X64 Assembler Instructions
The current support for x86 assembly instructions is not good enough,
more assembly instructions need to be added to support the assembler

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I54DY4

Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I24eb69b9eba089dea4a3de1b3b3b6e499c47d172
2022-04-24 16:46:40 +08:00
openharmony_ci
f3584b76d9
!1081 refactor leave frame
Merge pull request !1081 from 孙哲/master
2022-04-24 08:17:53 +00:00
openharmony_ci
d9e214dc22
!1066 Fix Container
Merge pull request !1066 from chenqi/fixContainer
2022-04-24 07:56:10 +00:00
songzhengchao
1fec05e99b Bytecode_circuit_builder SUB2DYN_PREF_V8 bug fix
1 add ts_sub test
2 modify int to taggedvalue

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I53EX6

Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: Idc51011528bd34c29faf0ffbb36cd225b2b91302
2022-04-24 15:14:09 +08:00
openharmony_ci
a8326621fa
!1111 fix codex warning
Merge pull request !1111 from hjzhangcm/master
2022-04-24 06:54:34 +00:00
sunzhe23
c589aa831e Refactor leave&entry frame
issue: #I541LG

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-04-23 23:35:51 -07:00
openharmony_ci
98a8b4074d
!1034 Bitmap And MMap Optimization
Merge pull request !1034 from yingguofeng/bitmap
2022-04-24 06:22:56 +00:00
openharmony_ci
7523177cf6
!1108 Add Profiler
Merge pull request !1108 from wwx1083752/master
2022-04-24 06:06:45 +00: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
openharmony_ci
15b5577831
!1106 Fix debug compilation error
Merge pull request !1106 from hjzhangcm/master
2022-04-24 04:57:44 +00:00
Gymee
af906dbdd5 debugger refactor
Change-Id: Idff2f871926a3893b5bd962f13b4a10c39f9f6d9
Signed-off-by: Gymee <yumeijie@huawei.com>
2022-04-24 11:35:13 +08:00
hjzhangcm
371cdba3bd fix test case debug compilation error
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-04-24 11:13:02 +08:00
openharmony_ci
53549ef8cc
!1109 modify stackoverflow testcase
Merge pull request !1109 from changcheng/fix_stack_overflow
2022-04-24 03:02:40 +00:00
openharmony_ci
fb977eef4d
!1107 Adapt AOT framework to JSMethod refactor
Merge pull request !1107 from luochuhao/fix
2022-04-24 02:37:17 +00:00
wengchangcheng
5a3de3f0ff Descriptor: fix testcase fail
details: modify stackoverflow testcase
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54AOB

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I7b57d1ec91ea115e029f509ad18c556945a32e85
2022-04-24 10:20:14 +08:00
wubinbin
9daa6c400c add profiler
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I53W91

Signed-off-by: wubinbin <wubinbin33@huawei.com>
2022-04-24 10:10:47 +08:00
luochuhao
53090462b2 Fix bug in AOT framework related to JSMethod refactor.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54915
Signed-off-by: luochuhao <luochuhao@huawei.com>
Change-Id: I4e3127df0c9e48ae9a8315da96265c0f5e1ef073
2022-04-24 09:00:31 +08:00
openharmony_ci
a2663e6e9f
!1079 aot bugfix
Merge pull request !1079 from 许杰/aot_bugfix
2022-04-22 16:41:35 +00:00
openharmony_ci
cee171fa52
!1095 Display the data of ArrayBuffer
Merge pull request !1095 from Gongyuhang/master
2022-04-22 14:06:30 +00:00
openharmony_ci
dce9fd6256
!1100 add host debugger module test
Merge pull request !1100 from changcheng/debugger_host_testcase
2022-04-22 13:57:18 +00:00
openharmony_ci
451b081a04
!1056 add Runtime.getHeapUsage
Merge pull request !1056 from wwx1083752/master
2022-04-22 13:41:45 +00:00
openharmony_ci
455f18dcc6
!1091 move the definition to the declare head file, and delete inl.h file
Merge pull request !1091 from hjzhangcm/master
2022-04-22 13:41:27 +00:00
openharmony_ci
e539e48140
!1092 add heapprofiler domain
Merge pull request !1092 from wwx1083752/master
2022-04-22 13:40:13 +00:00
Gongyuhang
bb260a4162 delete the empty line.
Issue:https://gitee.com/maimaity/ark_js_runtime/issues/I53VO3

Change:
    modified:    ecmascript/tooling/agent/js_backend.cpp

Signed-off-by: Gongyuhang <gongyuhang5@huawei.com>
2022-04-22 21:26:49 +08:00
Gongyuhang
593c2e2b1e delete "return" for the void-function.
Issue:https://gitee.com/maimaity/ark_js_runtime/issues/I53VO3

Change:
    modified:    ecmascript/tooling/agent/js_backend.cpp

Signed-off-by: Gongyuhang <gongyuhang5@huawei.com>
2022-04-22 20:42:39 +08:00
wengchangcheng
7ee32938a3 Descriptor: enable testcase with ecmavm instead of runtime
details:
1. add debugger module testcase in host
2. fix debugger crash when throw exception in interpreter
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I53WBO

Change-Id: Ia7d878b0b81c011d940a9187d39c854f6a592e6d
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-04-22 20:42:16 +08:00
wwx1083752
f34b956190 add getHeapUsage
issue:https://gitee.com/wwx1083752/ark_js_runtime/issues/I53ZUK

Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-22 17:49:52 +08:00
Riachel
735543aaf6 add heapprofiler interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-22 17:14:12 +08:00
openharmony_ci
9c787cbe21
!1086 check if thread have exception before GetJSError
Merge pull request !1086 from guobingbing/optimize
2022-04-22 07:31:06 +00:00
xujie
37e618bf00 Fix Aot Bug While Calling LoadValueFromConstantStringTable
convert c value arg to taggedValue arg.

issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5436K
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I5b71a68b06a60725f8bf2b5b8aa3a2e9c83ad75d
2022-04-22 14:36:39 +08:00
guobingbing
1f9cc2e2cd check if thread have exception before GetJSError
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: If0e26e1cf25a2b25339020cdcc3ec081daa25b3e
2022-04-22 14:28:09 +08:00
Gongyuhang
3aa690af86 Add TypedArrayRefs for ArrayBufferRef, and add references to the
elements of the TypedArrayRef at JSBackend for the TypedArrayRef.

Issue:https://gitee.com/maimaity/ark_js_runtime/issues/I53VO3

Changes:
    modified:   ecmascript/tooling/agent/js_backend.cpp
    modified:   ecmascript/tooling/agent/js_backend.h

Signed-off-by: Gongyuhang <gongyuhang5@huawei.com>
2022-04-22 13:48:09 +08:00
Riachel
ef10ee7e7c add heapprofiler interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-22 12:09:04 +08:00
openharmony_ci
f03b62f5fe
!1084 add copyright for test file.
Merge pull request !1084 from guobingbing/adapter-asm
2022-04-22 03:41:47 +00:00
Riachel
579d7df3c5 add heapprofiler interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-22 11:05:59 +08:00
guobingbing
c17cbca166 add copyright for test file.
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: I76f92afb097516f78b505d3d2a349f38cd9d4d20
2022-04-22 10:58:23 +08:00
Riachel
621cbfb83e add heapprofiler interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-22 10:57:29 +08:00
Riachel
ef93259ec9 add heapprofiler interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-22 10:42:00 +08:00
yingguofeng@huawei.com
50972c9580 Bitmap Refactor
Refactor the markbitmap used to mark objects and the rememberset used to record cross generational references

https://gitee.com/openharmony/ark_js_runtime/issues/I534B6?from=project-issue

Change-Id: Icc4ac21219b5b7514b77291e436f79cf286515b2
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-04-22 10:28:36 +08:00
hjzhangcm
297e669763 Rectify template problems
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
Change-Id: I3c156fc6d4b84ec14ec568c1ba36dda9aea34748
2022-04-22 09:44:50 +08:00
openharmony_ci
01aa603c92
!1089 support bigint RemoteObject return to IDE
Merge pull request !1089 from Gymee/debugger
2022-04-22 01:24:11 +00:00