Branch: Tag:

2002-11-23

2002-11-23 20:05:14 by Martin Stjernholm <mast@lysator.liu.se>

Register invalidated svalues and short svalues with the memory checker in
addition to dmalloc. Removed duplicated invalidation in a couple of places.

Rev: src/encode.c:1.158
Rev: src/object.c:1.209
Rev: src/program.c:1.460
Rev: src/svalue.c:1.151
Rev: src/svalue.h:1.111

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: encode.c,v 1.157 2002/11/22 14:45:57 grubba Exp $ + || $Id: encode.c,v 1.158 2002/11/23 20:05:14 mast Exp $   */      #include "global.h"
27:   #include "bignum.h"   #include "pikecode.h"    - RCSID("$Id: encode.c,v 1.157 2002/11/22 14:45:57 grubba Exp $"); + RCSID("$Id: encode.c,v 1.158 2002/11/23 20:05:14 mast Exp $");      /* #define ENCODE_DEBUG */   
395:    {    free_svalue(& p->constants[e].sval);    p->constants[e].sval.type=T_INT; -  DO_IF_DMALLOC(p->constants[e].sval.u.refs=(void *)-1); +     }       for(e=0;e<p->num_inherits;e++)