re GNATS libgcj/230 (Function GC_debug_object_start does not exist)

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.

From-SVN: r36145
This commit is contained in:
Anthony Green 2000-09-04 21:46:26 +00:00 committed by Anthony Green
parent 23e9541117
commit 9d40a6660e
3 changed files with 7 additions and 7 deletions

View 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> 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
* gcconfig.h [OSF1] (_end): Declare as `int'. * gcconfig.h [OSF1] (_end): Declare as `int'.

View File

@ -1772,10 +1772,6 @@ void GC_print_obj(/* ptr_t p */);
/* P points to somewhere inside an object with */ /* P points to somewhere inside an object with */
/* debugging info. Print a human readable */ /* debugging info. Print a human readable */
/* description of the object to stderr. */ /* 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)(); extern void (*GC_check_heap)();
/* Check that all objects in the heap with */ /* Check that all objects in the heap with */
/* debugging info are intact. Print */ /* debugging info are intact. Print */

View File

@ -530,9 +530,6 @@ void GC_mark_from_mark_stack()
case DS_PROC: case DS_PROC:
GC_mark_stack_top_reg--; GC_mark_stack_top_reg--;
credit -= PROC_BYTES; credit -= PROC_BYTES;
#ifdef GC_DEBUG
current_p = GC_debug_object_start(current_p);
#endif
GC_mark_stack_top_reg = GC_mark_stack_top_reg =
(*PROC(descr)) (*PROC(descr))
(current_p, GC_mark_stack_top_reg, (current_p, GC_mark_stack_top_reg,