ZhenyuPan
78f27c883f
for ark_js_vm on mac
...
related issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55GYU
Change-Id: I3faad1171ed2ef08660c62f0ff6c88b34c5cbcfa
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com >
2022-05-09 09:06:58 +08:00
guobingbing
129ebdbf25
refactor class FrameHandler
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I9f3ff0c04d34a31a34f21da637689eb61d4166f1
2022-05-04 10:36:44 +08:00
zhaozhibo
b7fb4444ec
delete object_xray-inl.h, move into object_xray.h and create visitor.h
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-28 21:25:51 +08:00
songzhengchao
014741a431
Implement support multiple LLVM stackmap when load multiple machine codes
...
When load multiple machine code(aot_ouput.m/common_stub.m/bc_stub.m), each machine code have one stackmap. We'll record all stackmaps, then search calliteInfo by return address
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I54YOX?from=project-issue
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: I3b7f09387b7b2c15a1fd96a2047f59ee8c0fef87
2022-04-27 16:24:28 +08:00
sunzhe23
ad20a51cca
Support calculate callsite sp for asm Interpreter
...
description:
Add SaveCurrentFrame for interpreter handler call stub and
get get callsite sp when gc run
issue: I54IMV
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-04-25 01:03:33 -07:00
sunzhe23
528db23a05
Refactor leave&entry frame
...
issue: #I541LG
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-04-23 23:35:51 -07:00
ding
d8f0399789
Control whether to print compiler logs through JSRuntime Options
...
Add option log-compiled-methods to print the compiler(both stub and aot) in units of methods.
Add class CompilerLog.
Refactor some compiler logs.
Unie the log invoked way(COMPILER_LOG or COMPILER_OPTIONAL_LOG).
Signed-off-by: ding <dingding5@huawei.com >
Change-Id: I43ce61d0ba9d453713ab3e6349d07f6d9cde3e5e
2022-04-14 16:14:34 +08:00
zhaozhibo
aaf776aab5
fix code warning for codeDex
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-12 14:27:50 +08:00
sunzhe23
a44d68473a
Fix FastMul performance issues
...
Description:
FastMul convert Int into Double, and lead to the result
call the double constructor of JSTaggedValue
Solution:
add Int Case for FastMul
Issue: #I4XK3U
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-03-13 22:00:52 -07:00
wupengyong
756a285093
reason:enable interpreterAsm Gc
...
Description:save leaveframe on thread leaveframe and save pc before callruntime
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4XCL5?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com >
Change-Id: I770f18facaeb7e62f5dc02f280828a8f6a420b6f
2022-03-11 12:46:57 +08:00
getingke
4890007d7d
fixed for review comment by wuzhefeng
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Id76ea68552d31eb67fa87edaed2ec33ef18af3fe
2022-03-09 16:17:24 +08:00
songzhengchao
9b6965c724
delete patchpointid replace with return address
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: I1a92f226571273e9ecdd713a378ad977a2f4667f
2022-03-08 17:28:21 +08:00
getingke
b1f48f1332
fixed for debug js_frame ok and revert test code
...
issue:[Add JSFunction EntryFrame & LeaveFrame for arm32](https://gitee.com/openharmony/ark_js_runtime/issues/I4WRJP?from=project-issue )
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Ia688bbec9825ec9ebe0e7dcd7da47af1317f1fb8
2022-03-08 11:11:46 +08:00
songzhengchao
2f99abd413
CallRuntimeTrampoline brige support aarch64
...
Description:
a Use two Bridge function, "InvokeJSFunctionEntry" and "CallRuntimeTrampoline" to Adapter the calling convention of Aot JSFunction & Runtime Stub, then Construct the Entry Frame in "InvokeJSFunctionEntry", Leave Frame in "CallRuntimeTrampoline"
b modify LLVM Calling Conversion, prologue push callee-saved gpr registers --> callee-saved fp/simd/SVE regs --> prev_fp, prev_lr .finally update x29 pointer to prev_fp
issue:https://gitee.com/openharmony/ark_js_runtime/pulls/630
Change-Id: I1df498f411e03c9887c4cad97bf82371c0b5f01a
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2022-03-01 11:07:25 +08:00
hjzhangcm
f6896ba854
fix warning files
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-02-15 16:58:32 +08:00
songzhengchao
2f2525b90f
implement machineType INT* FLOAT* rename to I* and F*
...
current machineType INT * FLOAT* confuse people to associate UINT*.
the INT* is simlar with LLVM IR too
we reanme machineType INT* FLOAT* rename to I* and F*
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4SC94
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: Ie188e07039cd9f26aed436ce96618ea4143fccd6
2022-02-10 15:51:18 +08:00
songzhengchao
7c7ca08440
code review modify
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: I1523067831240b65a442cf392327c5df4708a130
2022-01-24 15:36:24 +08:00
songzhengchao
23aba2a1bb
frame refactor
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: Ic35799a8e6c61e51f72b0fa19d63ea1720033481
2022-01-22 16:46:01 +08:00
songzhengchao
a47e416b84
review code
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: Idea8ce99572460a1a6a8f923d9eb1ecbb272db24
2022-01-14 16:29:22 +08:00
wuzhefeng
5720a01a3a
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
...
Change-Id: Ic990c5f11caeb3075033719a13e759baaf6dfefb
2022-01-13 00:26:00 -08:00
luochuhao
a5fb8b1717
a)Using more accurate instruction matching logic in RewritePatchPointIdOfStatePoint,
...
b)make sure rewriteStatepoint pass run first
c)delete useless code.
d)gc related bug fix.
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: Iaf32c0cbe3c343aa1cbf499f3237844598076336
2022-01-07 13:15:21 +08:00
songzhengchao
eba2fd2af5
bug fix
...
Change-Id: I32e449deae2bba02980bd9c062a085c1c0a03027
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2022-01-04 17:36:28 +08:00
songzhengchao
d5b0bbb5a0
code review: function rename and namespace
...
Change-Id: I40e81947ba3b51bb5e2dc1103a985889ca78dada
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2022-01-01 11:20:10 +08:00
songzhengchao
532ec5c128
codedex clean
...
Change-Id: I439a70ae2fa6fcf6bb57bf37763cf4068abadd9a
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2022-01-01 11:19:16 +08:00
songzhengchao
0a5ec1abb2
review code
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
Change-Id: I3fd21354d4c3080bee86351e2281183d8d42355a
2022-01-01 11:17:15 +08:00
songzhengchao
e198f24ced
1 review code
...
2 visit gc ptr by patchpoint instead of pc
3 contruct frame for aot
Change-Id: I98d1f8e39803ef7e1ac6c2f88e08d3254c6ef6af
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2022-01-01 11:17:09 +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
songzhengchao
0c38b6b94d
code review
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2021-10-30 22:18:09 +08:00
songzhengchao
baa25ddebe
code review
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2021-10-30 17:09:06 +08:00
songzhengchao
c4c4d68a4f
code review
...
Signed-off-by: songzhengchao <songzhengchao@huawei.com >
2021-10-28 15:06:25 +08:00
surpassgoodchao
8724269cb9
StubCallRunTimeThreadFpLock --> StubCallRunTimeThreadFpScope
...
.cpp use PANDA_TARGET_AMD64 delete
Signed-off-by: surpassgoodchao <surpassgoodchao@qq.com >
2021-10-12 11:48:03 +08:00
songzhengchao
b3d8eca4a1
fastboot
...
Signed-off-by: songzhengchao <surpassgoodchao@qq.com >
2021-10-10 11:17:39 +08:00
songzhengchao
4d1b014eb9
add frames descriptor
...
Signed-off-by: songzhengchao <surpassgoodchao@qq.com >
2021-10-10 10:44:14 +08:00
surpassgoodchao
8b8825786f
conflict
...
Signed-off-by: songzhengchao <surpassgoodchao@qq.com >
2021-10-10 10:43:27 +08:00