pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:3221: Inside #if defined(PIKE_DEBUG)
   {    if(f->locals < Pike_interpreter.evaluator_stack ||    f->locals > &(Pike_interpreter.evaluator_stack[Pike_stack_size]))    Pike_fatal("Local variable pointer points to FinspĂ„ng.\n");       if(f->args < 0 || f->args > Pike_stack_size)    Pike_fatal("FEL FEL FEL! HELP!! (corrupted pike_frame)\n");    }    }   } + #endif    -  +    static const char *safe_idname_from_int(struct program *prog, int func)   {    /* ID_FROM_INT with a thick layer of checks. */    struct reference *ref;    struct inherit *inher;    struct identifier *id;    if (!prog)    return "<null program *>";    if (func < 0 || func >= prog->num_identifier_references)    return "<offset outside prog->identifier_references>";
pike.git/src/interpret.c:3480: Inside #if defined(PIKE_THREADS)
   struct thread_state *ts = 0;    while ((i = gdb_next_thread_state (i, &ts)), ts) {    fprintf (stderr, "\nTHREAD_ID %p (swapped %s):\n",    (void *)(ptrdiff_t)ts->id, ts->swapped ? "out" : "in");    gdb_backtrace (ts->id);    }   #else    gdb_backtrace();   #endif   } - #endif +       PMOD_EXPORT void custom_check_stack(ptrdiff_t amount, const char *fmt, ...)   {    if (low_stack_check(amount)) {    va_list args;    va_start(args, fmt);    va_error(fmt, args);    }   }