pike.git / src / constants.c

version» Context lines:

pike.git/src/constants.c:228:    visit_string_ref (c->name, REF_TYPE_NORMAL);    }       /* Looks like the c->prog isn't refcounted..? */    /* visit_program_ref (c->prog, REF_TYPE_NORMAL); */   }      #ifdef PIKE_DEBUG   void present_constant_profiling(void)   { + #ifndef PIKE_NEW_BLOCK_ALLOC    struct callable *c;    WALK_NONFREE_BLOCKS (callable, c, c->name, {    fprintf(stderr,"%010ld @E@: %s\n",c->runs, c->name->str);    }); -  + #endif   }   #endif      void init_builtin_constants(void)   {    builtin_constants = allocate_mapping(300);   }      void exit_builtin_constants(void)   {   #ifdef DO_PIKE_CLEANUP    if(builtin_constants)    {    free_mapping(builtin_constants);    builtin_constants=0;    }   #endif   }