Remove unused scm_i_thread fields
authorAndy Wingo <wingo@pobox.com>
Fri, 22 Nov 2013 09:59:14 +0000 (10:59 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 22 Nov 2013 09:59:14 +0000 (10:59 +0100)
* libguile/threads.h (scm_i_thread):
* libguile/threads.c (guilify_self_1): Remove unused mark stack fields.

libguile/threads.c
libguile/threads.h

index 4a956af..a313b8b 100644 (file)
@@ -380,8 +380,6 @@ guilify_self_1 (struct GC_stack_base *base)
     abort ();
 
   scm_i_pthread_mutex_init (&t.admin_mutex, NULL);
-  t.current_mark_stack_ptr = NULL;
-  t.current_mark_stack_limit = NULL;
   t.canceled = 0;
   t.exited = 0;
   t.guile_mode = 0;
index 3b67aac..d34e1ab 100644 (file)
@@ -72,11 +72,6 @@ typedef struct scm_i_thread {
   scm_i_pthread_cond_t sleep_cond;
   int sleep_fd, sleep_pipe[2];
 
-  /* XXX: These two fields used to hold information about the BDW-GC
-     mark stack during the mark phase.  They are no longer used.  */
-  void *current_mark_stack_ptr;
-  void *current_mark_stack_limit;
-
   /* Other thread local things.
    */
   SCM dynamic_state;