pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.c,v 1.328 2003/08/10 12:16:29 grubba Exp $ + || $Id: interpret.c,v 1.329 2003/09/08 20:05:21 mast Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.328 2003/08/10 12:16:29 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.329 2003/09/08 20:05:21 mast Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:123:    Pike_fatal("Mark stack underflow!\n");   #endif    return Pike_sp - *--Pike_mark_sp;   }         #ifdef PIKE_DEBUG   static void gc_check_stack_callback(struct callback *foo, void *bar, void *gazonk)   {    struct pike_frame *f; -  debug_gc_xmark_svalues(Pike_interpreter.evaluator_stack, -  Pike_sp-Pike_interpreter.evaluator_stack-1, +  gc_mark_external_svalues(Pike_interpreter.evaluator_stack, +  Pike_sp-Pike_interpreter.evaluator_stack,    " on current interpreter stack");       for(f=Pike_fp;f;f=f->next)    {    if(f->context.parent) -  gc_external_mark2(f->context.parent,0," in Pike_fp->context.parent on current stack"); -  gc_external_mark2(f->current_object,0," in Pike_fp->current_object on current stack"); -  gc_external_mark2(f->context.prog,0," in Pike_fp->context.prog on current stack"); +  gc_mark_external (f->context.parent, " in Pike_fp->context.parent on current stack"); +  gc_mark_external (f->current_object, " in Pike_fp->current_object on current stack"); +  gc_mark_external (f->context.prog, " in Pike_fp->context.prog on current stack");    }      }   #endif      /* Execute Pike code starting at pc.    *    * Called once with NULL to initialize tables.    *    * Returns 0 if pc is NULL.