pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3621: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if (c->type != CALLTYPE_PIKEFUN)    Pike_fatal("callsite_save_jmpbuf called for non pike frame.\n");   #endif       c->saved_jmpbuf = Pike_interpreter.catching_eval_jmpbuf;    SET_ONERROR (c->onerror, restore_catching_eval_jmpbuf, c->saved_jmpbuf);    Pike_interpreter.catching_eval_jmpbuf = NULL;   }    - PMOD_EXPORT void callsite_free_frame(struct pike_callsite *c) { + PMOD_EXPORT void callsite_free_frame(const struct pike_callsite *c) {    struct pike_frame *frame = c->frame;    INT32 refs;      #ifdef PIKE_DEBUG    if (!frame)    Pike_fatal("callsite_free_frame called without frame.\n");   #endif       /* FREE FRAME */   
pike.git/src/interpret.c:3657:    }       if (c->type != CALLTYPE_PIKEFUN) return;       /* restore catching_eval_jmpbuf */       Pike_interpreter.catching_eval_jmpbuf = c->saved_jmpbuf;    UNSET_ONERROR(c->onerror);   }    - PMOD_EXPORT void callsite_return_slowpath(struct pike_callsite *c) { + PMOD_EXPORT void callsite_return_slowpath(const struct pike_callsite *c) {    const struct svalue *sp = Pike_sp;    struct svalue *save_sp = c->retval;    struct pike_frame *frame = c->frame;    ptrdiff_t needs_retval = (c->type != CALLTYPE_PIKEFUN || !(frame->flags & PIKE_FRAME_RETURN_POP));      #ifdef PIKE_DEBUG    if(Pike_mark_sp < Pike_fp->save_mark_sp)    Pike_fatal("Popped below save_mark_sp!\n");    if(Pike_sp<Pike_interpreter.evaluator_stack)    Pike_fatal("Stack error (also simple).\n");