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.206 2001/06/11 19:58:28 mast Exp $"); + RCSID("$Id: interpret.c,v 1.207 2001/06/19 23:59:33 hubbe 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:78:   static char trace_buffer[2000];   #endif         /* Pike_sp points to first unused value on stack    * (much simpler than letting it point at the last used value.)    */   PMOD_EXPORT struct Pike_interpreter Pike_interpreter;   PMOD_EXPORT int Pike_stack_size = EVALUATOR_STACK_SIZE;    + void do_trace_call(INT32);      void gdb_stop_here(void)   {    ;   }         /* mark stack, used to store markers into the normal stack */   int mark_stack_malloced = 0;   
pike.git/src/interpret.c:992: Inside #if defined(PIKE_DEBUG)
   fatal("Non-void function returned without return value on stack: %s %d\n",    s->u.efun->name->str,s->u.efun->may_return_void);    if(Pike_sp==expected_stack+1 && s->u.efun->may_return_void)    fatal("Void function returned with a value on the stack: %s %d\n",    s->u.efun->name->str, s->u.efun->may_return_void);    }   #endif       break;    }else{ +  type=APPLY_SVALUE;    o=s->u.object;    if(o->prog == pike_trampoline_program)    {    fun=((struct pike_trampoline *)(o->storage))->func;    scope=((struct pike_trampoline *)(o->storage))->frame;    o=scope->current_object;    goto apply_low_with_scope;    }    fun=s->subtype;    goto apply_low;
pike.git/src/interpret.c:1039:    case T_OBJECT:    o=s->u.object;    if(o->prog == pike_trampoline_program)    {    fun=((struct pike_trampoline *)(o->storage))->func;    scope=((struct pike_trampoline *)(o->storage))->frame;    o=scope->current_object;    goto apply_low_with_scope;    }    fun=LFUN_CALL; +  type=APPLY_SVALUE;    goto call_lfun;    }    break;    }       call_lfun:   #ifdef PIKE_DEBUG    if(fun < 0 || fun >= NUM_LFUNS)    fatal("Apply lfun on illegal value!\n");   #endif