Branch: Tag:

1999-10-24

1999-10-24 14:10:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added a few dmalloc_touch_svalue()'s.

Rev: src/opcodes.c:1.50
Rev: src/operators.c:1.64

3:   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/ + /**/   #include "global.h"   #include <math.h>   #include <ctype.h>
24:   #include "security.h"   #include "bignum.h"    - RCSID("$Id: opcodes.c,v 1.49 1999/10/24 01:08:38 noring Exp $"); + RCSID("$Id: opcodes.c,v 1.50 1999/10/24 14:07:12 grubba Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
112:    index_no_free(&s,sp-2,sp-1);    pop_n_elems(2);    *sp=s; +  dmalloc_touch_svalue(sp);    sp++;   }   
137:    free_svalue(sp-2);    sp[-2]=sp[-1];    sp--; +  dmalloc_touch_svalue(sp);    }else       switch(run_time_type)
154:    {    f_transpose(1);    sp--; +  dmalloc_touch_svalue(sp);    push_array_items(sp->u.array);    f_mkmapping(2);    break;
578:    free_svalue(sp-2);    sp[-2]=sp[-1];    sp--; +  dmalloc_touch_svalue(sp);   }