pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3185: Inside #if defined(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[Pike_stack_size]))    Pike_fatal("Svalue stack overflow. "    "(%ld entries on stack, stack_size is %ld entries)\n", -  PTRDIFF_T_TO_LONG(Pike_sp - Pike_interpreter.evaluator_stack), -  PTRDIFF_T_TO_LONG(Pike_stack_size)); +  (long)(Pike_sp - Pike_interpreter.evaluator_stack), +  (long)Pike_stack_size);       if(Pike_mark_sp > &(Pike_interpreter.mark_stack[Pike_stack_size]))    Pike_fatal("Mark stack overflow.\n");       if(Pike_mark_sp < Pike_interpreter.mark_stack)    Pike_fatal("Mark stack underflow.\n");       for(s=Pike_interpreter.evaluator_stack;s<Pike_sp;s++) {    /* NOTE: Freed svalues are allowed on the stack. */    if (TYPEOF(*s) != PIKE_T_FREE) check_svalue(s);