Branch: Tag:

2000-04-19

2000-04-19 16:14:38 by Martin Stjernholm <mast@lysator.liu.se>

Fixes to make it compile without any debug.

Rev: src/gc.h:1.35
Rev: src/program.c:1.230
Rev: src/svalue.c:1.71

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.229 2000/04/19 16:03:30 mast Exp $"); + RCSID("$Id: program.c,v 1.230 2000/04/19 16:05:19 mast Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
3504: Inside #if defined(GC2)
  static void gc_check_program(struct program *p)   {    int e; + #ifdef PIKE_DEBUG    extern void * check_for; -  + #endif       debug_malloc_touch(p);   
3534:   #endif    }    + #ifdef PIKE_DEBUG    if(d_flag && p->inherits[e].name && check_for != (void *)1)    debug_gc_check(p->inherits[e].name, T_PROGRAM, p); -  + #endif       if(e && p->inherits[e].prog)    debug_gc_check(p->inherits[e].prog, T_PROGRAM, p);