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.149 2000/04/27 02:12:30 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.150 2000/05/01 10:28:26 hubbe 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:1216:    debug_malloc_touch(fp);    if(SETJMP(tmp))    {    *sp=throw_value;    throw_value.type=T_INT;    sp++;    UNSETJMP(tmp);    fp->expendible=expendible;    return 0;    }else{ +  struct svalue **save_mark_sp=mark_sp;    int x;    fp->expendible=fp->locals + fp->num_locals;    x=eval_instruction(pc); -  + #ifdef PIKE_DEBUG +  if(mark_sp < save_mark_sp) +  fatal("mark sp underflow in catch.\n"); + #endif +  mark_sp=save_mark_sp;    fp->expendible=expendible;    if(x!=-1) mega_apply(APPLY_STACK, x, 0,0);    UNSETJMP(tmp);    return 1;    }   }      void f_call_function(INT32 args)   {    mega_apply(APPLY_STACK,args,0,0);