pike.git / src / interpreter.h

version» Context lines:

pike.git/src/interpreter.h:43: Inside #if defined(PIKE_DEBUG) and #if defined(_REENTRANT)
   if(d_flag>1 && thread_for_id(th_self()) != Pike_interpreter.thread_id)    fatal("thread_for_id() (or Pike_interpreter.thread_id) failed in interpreter.h! %p != %p\n",thread_for_id(th_self()),Pike_interpreter.thread_id);   #endif       Pike_sp[0].type=99; /* an invalid type */    Pike_sp[1].type=99;    Pike_sp[2].type=99;    Pike_sp[3].type=99;       if(Pike_sp<Pike_interpreter.evaluator_stack || Pike_mark_sp < Pike_interpreter.mark_stack || Pike_fp->locals>Pike_sp) -  fatal("Stack error (generic) Pike_sp=%p/%p Pike_mark_sp=%p/%p locals=%p.\n", +  fatal("Stack Pike_error (generic) Pike_sp=%p/%p Pike_mark_sp=%p/%p locals=%p.\n",    Pike_sp,    Pike_interpreter.evaluator_stack,    Pike_mark_sp,    Pike_interpreter.mark_stack,    Pike_fp->locals);       if(Pike_mark_sp > Pike_interpreter.mark_stack+Pike_stack_size) -  fatal("Mark Stack error (overflow).\n"); +  fatal("Mark Stack Pike_error (overflow).\n");          if(Pike_mark_sp < Pike_interpreter.mark_stack) -  fatal("Mark Stack error (underflow).\n"); +  fatal("Mark Stack Pike_error (underflow).\n");       if(Pike_sp > Pike_interpreter.evaluator_stack+Pike_stack_size) -  fatal("stack error (overflow).\n"); +  fatal("stack Pike_error (overflow).\n");       if(/* Pike_fp->fun>=0 && */ Pike_fp->current_object->prog &&    Pike_fp->locals+Pike_fp->num_locals > Pike_sp) -  fatal("Stack error (stupid!).\n"); +  fatal("Stack Pike_error (stupid!).\n");       if(Pike_interpreter.recoveries && Pike_sp-Pike_interpreter.evaluator_stack < Pike_interpreter.recoveries->stack_pointer) -  fatal("Stack error (underflow).\n"); +  fatal("Stack Pike_error (underflow).\n");       if(Pike_mark_sp > Pike_interpreter.mark_stack && Pike_mark_sp[-1] > Pike_sp) -  fatal("Stack error (underflow?)\n"); +  fatal("Stack Pike_error (underflow?)\n");       if(d_flag > 9) do_debug();       backlogp++;    if(backlogp >= BACKLOG) backlogp=0;       if(backlog[backlogp].program)    free_program(backlog[backlogp].program);       backlog[backlogp].program=Pike_fp->context.prog;