From a13a224813634ad89af04d5bdd02bb17baac5fe1 Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Tue, 27 Jul 2010 13:14:43 -0400 Subject: [PATCH] Dont track unneeded registers for amd64. 2010-07-27 Geoff Norton * darwin_stop_world.c: Dont track unneeded registers for amd64. --- ChangeLog | 4 ++++ darwin_stop_world.c | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a0551b0..049c7275 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-07-27 Geoff Norton + + * darwin_stop_world.c: Dont track unneeded registers for amd64. + 2010-06-29 Geoff Norton * include/private/gc_locks.h: Implement armv6+ variants of diff --git a/darwin_stop_world.c b/darwin_stop_world.c index bc867a0f..ac50256f 100644 --- a/darwin_stop_world.c +++ b/darwin_stop_world.c @@ -146,7 +146,6 @@ void GC_push_all_stacks() { GC_push_one(state.__rdi); GC_push_one(state.__rsi); GC_push_one(state.__rbp); - GC_push_one(state.__rsp); GC_push_one(state.__r8); GC_push_one(state.__r9); GC_push_one(state.__r10); @@ -155,11 +154,6 @@ void GC_push_all_stacks() { GC_push_one(state.__r13); GC_push_one(state.__r14); GC_push_one(state.__r15); - GC_push_one(state.__rip); - GC_push_one(state.__rflags); - GC_push_one(state.__cs); - GC_push_one(state.__fs); - GC_push_one(state.__gs); #elif defined(POWERPC) #if defined(_STRUCT_PPC_EXCEPTION_STATE) && defined(__DARWIN_UNIX03) lo = (void*)(state.__r1 - PPC_RED_ZONE_SIZE); -- 2.40.0