Have NV_CPU_ARM and NV_CPU_AARCH64 reference the same code on Darwin.

This commit is contained in:
C.W. Betts 2020-08-24 00:42:58 -06:00
parent 3a8e89d6f6
commit b700982b1f

View File

@ -604,10 +604,7 @@ namespace
# elif NV_CPU_X86
ucontext_t * ucp = (ucontext_t *)secret;
return (void *) ucp->uc_mcontext->__ss.__eip;
# elif NV_CPU_ARM
ucontext_t * ucp = (ucontext_t *)secret;
return (void *) ucp->uc_mcontext->__ss.__pc;
# elif NV_CPU_AARCH64
# elif NV_CPU_ARM || NV_CPU_AARCH64
ucontext_t * ucp = (ucontext_t *)secret;
return (void *) ucp->uc_mcontext->__ss.__pc;
# else