Have NV_CPU_ARM and NV_CPU_AARCH64 reference the same code on Darwin.
This commit is contained in:
parent
3a8e89d6f6
commit
b700982b1f
@ -604,10 +604,7 @@ namespace
|
|||||||
# elif NV_CPU_X86
|
# elif NV_CPU_X86
|
||||||
ucontext_t * ucp = (ucontext_t *)secret;
|
ucontext_t * ucp = (ucontext_t *)secret;
|
||||||
return (void *) ucp->uc_mcontext->__ss.__eip;
|
return (void *) ucp->uc_mcontext->__ss.__eip;
|
||||||
# elif NV_CPU_ARM
|
# elif NV_CPU_ARM || NV_CPU_AARCH64
|
||||||
ucontext_t * ucp = (ucontext_t *)secret;
|
|
||||||
return (void *) ucp->uc_mcontext->__ss.__pc;
|
|
||||||
# elif NV_CPU_AARCH64
|
|
||||||
ucontext_t * ucp = (ucontext_t *)secret;
|
ucontext_t * ucp = (ucontext_t *)secret;
|
||||||
return (void *) ucp->uc_mcontext->__ss.__pc;
|
return (void *) ucp->uc_mcontext->__ss.__pc;
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user