pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: mapping.c,v 1.22 1997/09/08 21:51:04 grubba Exp $"); + RCSID("$Id: mapping.c,v 1.23 1997/10/16 06:34:26 hubbe Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "language.h"   #include "error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"
pike.git/src/mapping.c:987: Inside #if defined(GC2)
   {    LOOP(m)    {    /* We do not want to count this key:index pair if    * the index is a destructed object or function    */    if(((1 << k->ind.type) & (BIT_OBJECT | BIT_FUNCTION)) &&    !(k->ind.u.object->prog))    continue;    -  gc_check_svalues(&k->ind, 1); -  m->val_types |= gc_check_svalues(&k->val, 1); +  debug_gc_check_svalues(&k->ind, 1, T_MAPPING, m); +  m->val_types |= debug_gc_check_svalues(&k->val, 1, T_MAPPING, m);    }      #ifdef DEBUG    if(d_flag > 1) check_mapping_type_fields(m);   #endif       }    }   }