Branch: Tag:

2003-09-23

2003-09-23 22:26:57 by Martin Stjernholm <mast@lysator.liu.se>

Don't skip past GC_LEAVE.

Rev: src/mapping.c:1.172
Rev: src/object.c:1.248

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: mapping.c,v 1.171 2003/09/23 20:08:00 mast Exp $ + || $Id: mapping.c,v 1.172 2003/09/23 22:26:56 mast Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.171 2003/09/23 20:08:00 mast Exp $"); + RCSID("$Id: mapping.c,v 1.172 2003/09/23 22:26:56 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
2289:    INT32 e;    struct keypair *k;    -  if(debug_gc_check (md, " as mapping data block of a mapping")) -  return; -  +  if(!debug_gc_check (md, " as mapping data block of a mapping")) {    if (!(md->flags & MAPPING_WEAK) || MAPPING_DATA_IN_USE(md))    /* Disregard the weak flag if the mapping data is busy; we must    * leave it untouched in that case anyway. */
2326:    }    gc_checked_as_weak(md);    } +  }    } GC_LEAVE;   }