pike.git / src / interpreter.h

version» Context lines:

pike.git/src/interpreter.h:24:    unsigned INT32 accumulator=0,instr, prefix=0;    debug_malloc_touch(fp);    while(1)    {    fp->pc = pc;    instr=EXTRACT_UCHAR(pc++);      #ifdef PIKE_DEBUG    if(d_flag)    { - #if defined(_REENTRANT) && !defined(__NT__) + #ifdef _REENTRANT + #ifndef __NT__    if(!mt_trylock(& interpreter_lock))    fatal("Interpreter running unlocked!\n");   #endif -  +  if(d_flag>1 && thread_for_id(th_self()) != thread_id) +  fatal("thread_for_id() (or thread_id) failed in interpreter.h! %p != %p\n",thread_for_id(th_self()),thread_id); + #endif +     sp[0].type=99; /* an invalid type */    sp[1].type=99;    sp[2].type=99;    sp[3].type=99;       if(sp<evaluator_stack || mark_sp < mark_stack || fp->locals>sp)    fatal("Stack error (generic).\n");       if(sp > evaluator_stack+stack_size)    fatal("Stack error (overflow).\n");