pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.164 2000/08/16 16:00:52 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.165 2000/08/17 18:45:04 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:1403: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG   void slow_check_stack(void)   {    struct svalue *s,**m;    struct pike_frame *f;       debug_check_stack();       if(Pike_sp > &(Pike_interpreter.evaluator_stack[stack_size]))    fatal("Svalue stack overflow. " -  "(%d entries on stack, stack_size is %d entries)\n", -  Pike_sp-Pike_interpreter.evaluator_stack,stack_size); +  "(%ld entries on stack, stack_size is %ld entries)\n", +  PTRDIFF_T_TO_LONG(Pike_sp - Pike_interpreter.evaluator_stack), +  PTRDIFF_T_TO_LONG(stack_size));       if(Pike_mark_sp > &(Pike_interpreter.mark_stack[stack_size]))    fatal("Mark stack overflow.\n");       if(Pike_mark_sp < Pike_interpreter.mark_stack)    fatal("Mark stack underflow.\n");       for(s=Pike_interpreter.evaluator_stack;s<Pike_sp;s++) check_svalue(s);       s=Pike_interpreter.evaluator_stack;