Branch: Tag:

2000-04-19

2000-04-19 18:06:45 by Martin Stjernholm <mast@lysator.liu.se>

Removed a bogus debug check.

Rev: src/gc.c:1.71

29:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.70 2000/04/19 14:02:16 mast Exp $"); + RCSID("$Id: gc.c,v 1.71 2000/04/19 18:06:45 mast Exp $");      /* Run garbage collect approximate every time we have    * 20 percent of all arrays, objects and programs is
128: Inside #if defined(PIKE_DEBUG)
  static void *found_in=0;   static int found_in_type=0;   void *gc_svalue_location=0; - static char *fatal_after_gc=0; + char *fatal_after_gc=0;      #define DESCRIBE_MEM 1   #define DESCRIBE_NO_REFS 2
566:    describe_something(s->u.refs,s->type,0,2,0);   }    - #endif + #endif /* PIKE_DEBUG */      INT32 real_gc_check(void *a)   {
710: Inside #if defined(PIKE_DEBUG)
   }   #endif    -  +     if(!Pike_in_gc)    exit_gc();   }
759: Inside #if defined(PIKE_DEBUG)
  {    struct marker *m;    -  if (Pike_in_gc <= 0 || Pike_in_gc >= 4) -  fatal("gc_external_mark3 called outside valid gc pass.\n"); -  +     if(check_for)    {    if(a==check_for)