OSDN Git Service

Fix for PR libgcj/230:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Sep 2000 21:46:26 +0000 (21:46 +0000)
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Sep 2000 21:46:26 +0000 (21:46 +0000)
        * mark.c (GC_mark_from_mark_stack): Remove call to
        GC_debug_object_start.
        * gc_priv.h (GC_debug_object_start): Remove prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36145 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/gc_priv.h
boehm-gc/mark.c

index 805ab77..274d309 100644 (file)
@@ -1,3 +1,10 @@
+2000-09-04  Anthony Green  <green@redhat.com>
+
+       Fix for PR libgcj/230:
+       * mark.c (GC_mark_from_mark_stack): Remove call to
+       GC_debug_object_start.
+       * gc_priv.h (GC_debug_object_start): Remove prototype.
+
 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
 
        * gcconfig.h [OSF1] (_end): Declare as `int'.
 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
 
        * gcconfig.h [OSF1] (_end): Declare as `int'.
index 841b752..c0fa5d6 100644 (file)
@@ -1772,10 +1772,6 @@ void GC_print_obj(/* ptr_t p */);
                        /* P points to somewhere inside an object with  */
                        /* debugging info.  Print a human readable      */
                        /* description of the object to stderr.         */
                        /* P points to somewhere inside an object with  */
                        /* debugging info.  Print a human readable      */
                        /* description of the object to stderr.         */
-ptr_t GC_debug_object_start(/* ptr_t p */);
-                       /* P points to the start of an object that may  */
-                       /* have debug info at its head.  Return the     */
-                       /* start of the real data.                      */
 extern void (*GC_check_heap)();
                        /* Check that all objects in the heap with      */
                        /* debugging info are intact.  Print            */
 extern void (*GC_check_heap)();
                        /* Check that all objects in the heap with      */
                        /* debugging info are intact.  Print            */
index 461d989..36c0b69 100644 (file)
@@ -530,9 +530,6 @@ void GC_mark_from_mark_stack()
         case DS_PROC:
           GC_mark_stack_top_reg--;
           credit -= PROC_BYTES;
         case DS_PROC:
           GC_mark_stack_top_reg--;
           credit -= PROC_BYTES;
-#ifdef GC_DEBUG
-         current_p = GC_debug_object_start(current_p);
-#endif
           GC_mark_stack_top_reg =
               (*PROC(descr))
                    (current_p, GC_mark_stack_top_reg,
           GC_mark_stack_top_reg =
               (*PROC(descr))
                    (current_p, GC_mark_stack_top_reg,