Commit Graph

21 Commits

Author SHA1 Message Date
hwx1163501
7b47de5a55 Fixed data type under builtins (int->uint)
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LLDJ
2023-07-20 16:48:27 +08:00
gongyuhang
dc7f16603f Fix the unexpected aligning behavior of struct EcmaRuntimeCallInfo in linux_x86 build
Add "alignas(sizeof(JSTaggedType)" for the last variable of struct EcmaRuntimeCallInfo.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ZBUQ
Test: compile ark_js_vm of linux_x86, run .abc with this ark_js_vm
Signed-off-by: gongyuhang <gongyuhang7@huawei.com>
2023-04-27 14:20:02 +08:00
openharmony_ci
82236d7f20
!1924 Modify numArgs from int32_t to uint32_t
Merge pull request !1924 from lijiamin/master
2022-08-08 14:03:45 +00:00
lijiamin
970f40e89e Modify numArgs from int32_t to uint32_t
Signed-off-by: lijiamin <lijiamin24@huawei.com>
Change-Id: If92a6b948356799b37987eaa4043b12e9bd72e98
2022-08-05 17:06:00 +08:00
wupengyong
eef2380567 reason:add buitins stub
description:add buitins stub
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5HCIM?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I4673f7f1443a8a9f6a3c01985f219e50ddb024fa
2022-08-04 17:27:44 +08:00
g00416891
f9d3614a7c Align EcmaRuntimeCallInfo for 32 bit
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I2097ac272aed3f89dd52a300a1653191a3bac459
2022-07-15 15:02:39 +08:00
g00416891
604a131f22 Align EcmaRuntimeCallInfo for 32 bit
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I971c972b2486930c7dbb1d50027c3cb0df25e661
2022-07-14 21:15:55 +08:00
g00416891
b6588744f2 New EcmaRuntimeCallInfo in stack pointer
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I466a4107e6e073ffecea12e6986c112731d2d3bf
2022-07-05 14:54:43 +08:00
DaiH
b41df503a1 Support CommonJS's module export function
------------------------------------------
    1. Support CommonJS's module export function
    2. Related test cases
    issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5590V

Signed-off-by: DaiH <daihuina1@huawei.com>
Change-Id: I18968f6a6b971fbe833d91ef98813964cc8292c9
2022-06-08 10:59:06 +08:00
g00416891
2ad3adbc2a optimize ExecuteNative frame
Change-Id: I2431fb150c160d8dc51d20a8dcc7ace74e09aa5b
Signed-off-by: g00416891 <guobingbing3@huawei.com>
2022-05-23 15:22:18 +08:00
g00416891
1e1f16f28b Remove data in EcmaRuntimeCallInfo
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I007424009e84cd9d3b93b532ccddc432a196cc89
2022-05-18 14:22:50 +08:00
zhangyukun
4b39ba412b constuct entry frame of execute with rsp
1. add fp to support discontinuous frame gc and resume rsp
2. assemble execute and impl entry frame with rsp
3. use assembler to refactor .s
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I52BQE?from=project-issue

Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I6966672dc065d63144fe7fa145ab76571189d540
2022-05-07 14:13:50 +08:00
wanyanglan
43e67ad2fc Replace x64 call.S with x64 assembler
Replace JSFunctionEntry, OptimizedCallOptimized, CallNativeTrampoline,
OptimizedCallRuntime, JSCall, JSCallWithArgV assembly functions with
x86 assembler

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

Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I1970a5bfd032530ad791b5c91b96d35f7be9ac14
2022-05-06 14:10:27 +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
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
guobingbing
c9b5d658c5 add DoStackOverflowCheck for app crash after reboot many times
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: I6b144c0b86b5c2b48bae8cf513d67e5e537eaf7b
2022-04-19 17:44:54 +08:00
zhaozhibo
c239b44d80 fix codeDex warning(3)
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-17 15:23:43 +08:00
guobingbing
96190e252b FFI optimization for call params
Signed-off-by: guobingbing <guobingbing3@huawei.com>
Change-Id: I61b820e91b85364e4f41d35ca0172ad059a1b916
2022-04-07 21:13:46 +08:00
wengchangcheng
839f39e500 modify ACCESSOR for EcmaString and TaggedArray
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I2995dc75ed34e8eb2bf249f2cced62ec9d91250e
2022-01-17 11:51:50 +08:00
zhangyukun
7ffcc4b20f Sync js_runtime to openharmony
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
2021-09-08 09:20:53 +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