Branch: Tag:

2001-06-11

2001-06-11 19:58:29 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.153
Rev: src/interpret.c:1.206
Rev: src/object.c:1.170

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.205 2001/06/11 16:34:01 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.206 2001/06/11 19:58:28 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