Branch: Tag:

2001-06-11

2001-06-11 19:58:25 by Martin Stjernholm <mast@lysator.liu.se>

Fixed potential bug when gc'ing arrays due to the two new empty_array
variants. Fixed incorrect debug checks that sometimes could cause a "Pike
code called within gc" fatal.

Rev: src/gc.c:1.146
Rev: src/interpret.c:1.187
Rev: src/object.c:1.161

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.186 2001/06/11 16:43:54 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.187 2001/06/11 19:58:25 mast Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
1273:    unsigned char *pc;      #ifdef PIKE_DEBUG -  if (Pike_in_gc > GC_PASS_PREPARE && Pike_in_gc < GC_PASS_KILL) +  if (Pike_in_gc > GC_PASS_PREPARE && Pike_in_gc < GC_PASS_FREE)    fatal("Pike code called within gc.\n");   #endif