From d5d091accae6046d2a5dadb283e110b31f4684bd Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 18 Mar 2015 01:06:02 +0300 Subject: [PATCH] Add incremental GC support for Darwin/arm64 * os_dep.c (DARWIN_EXC_STATE, DARWIN_EXC_STATE_COUNT, DARWIN_EXC_STATE_T, DARWIN_EXC_STATE_DAR): Define for AARCH64 target. --- os_dep.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/os_dep.c b/os_dep.c index a362498..f62d4ed 100644 --- a/os_dep.c +++ b/os_dep.c @@ -4269,6 +4269,11 @@ STATIC kern_return_t GC_forward_exception(mach_port_t thread, mach_port_t task, # define DARWIN_EXC_STATE_COUNT ARM_EXCEPTION_STATE_COUNT # define DARWIN_EXC_STATE_T arm_exception_state_t # define DARWIN_EXC_STATE_DAR THREAD_FLD(far) +#elif defined(AARCH64) +# define DARWIN_EXC_STATE ARM_EXCEPTION_STATE64 +# define DARWIN_EXC_STATE_COUNT ARM_EXCEPTION_STATE64_COUNT +# define DARWIN_EXC_STATE_T arm_exception_state64_t +# define DARWIN_EXC_STATE_DAR THREAD_FLD(far) #elif defined(POWERPC) # if CPP_WORDSZ == 32 # define DARWIN_EXC_STATE PPC_EXCEPTION_STATE -- 2.7.4