mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
fixed for compiler error in wagner master branch
Signed-off-by: getingke <getingke@huawei.com> Change-Id: I0bb8ef0fdc119ba1a958a2cff73d44fc51ccbb54
This commit is contained in:
parent
c4011f7be5
commit
4a4dc2293d
4
BUILD.gn
4
BUILD.gn
@ -184,6 +184,10 @@ config("ark_jsruntime_common_config") {
|
||||
defines += [ "ECMASCRIPT_ENABLE_TEST_STUB" ]
|
||||
}
|
||||
|
||||
if (use_musl) {
|
||||
defines += [ "PANDA_USE_MUSL" ]
|
||||
}
|
||||
|
||||
if (is_standard_system) {
|
||||
defines += [ "IS_STANDARD_SYSTEM" ]
|
||||
}
|
||||
|
@ -31,8 +31,12 @@
|
||||
#define ASM_JS_METHOD_NATIVE_POINTER_OFFSET (32)
|
||||
#ifdef PANDA_TARGET_ARM64
|
||||
#define ASM_GLUE_TO_THREAD_OFFSET (6584)
|
||||
#else
|
||||
#else
|
||||
#ifdef PANDA_USE_MUSL
|
||||
#define ASM_GLUE_TO_THREAD_OFFSET (6608)
|
||||
#else
|
||||
#define ASM_GLUE_TO_THREAD_OFFSET (6584)
|
||||
#endif
|
||||
#endif
|
||||
// ecma_runtime_callinfo struct in stack
|
||||
// -----------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user