pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1111:    {    num_free_catch_ctx--;    res = free_catch_context;    PIKE_MEM_RW(res->prev);    free_catch_context = res->prev;    PIKE_MEM_WO(*res);    }    else    {    num_catch_ctx++; -  res = xalloc( sizeof( struct catch_context ) ); +  res = ALLOC_STRUCT( catch_context );    }    return res;   }      void count_memory_in_catch_contexts(size_t *num, size_t *size )   {    *num = (num_catch_ctx-num_free_catch_ctx);    *size = num_catch_ctx * (sizeof(struct catch_context)+8); /* assumes 8 bytes overhead. */   }