pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:1461: Inside #if defined(GC2)
   struct array *a;    a=&empty_array;    do    {   #ifdef DEBUG    if(d_flag > 1) array_check_type_field(a);   #endif    if(a->type_field & BIT_COMPLEX)    {    TYPE_FIELD t; -  t=gc_check_svalues(ITEM(a), a->size); +  t=debug_gc_check_svalues(ITEM(a), a->size, T_ARRAY, a);       /* Ugly, but we are not allowed to change type_field    * at the same time as the array is being built...    * Actually we just need beter primitives for building arrays.    */    if(!(a->type_field & BIT_UNFINISHED) || a->refs!=1)    a->type_field = t;    else    a->type_field |= t;    }