pike.git / src / interpreter.h

version» Context lines:

pike.git/src/interpreter.h:122:    instr = pc[0];    Pike_fp->pc = pc++;       STEP_BREAK_LINE      #ifdef PIKE_DEBUG       if(t_flag > 2)    {    char *file, *f; +  struct pike_string *filep;    INT32 linep;    -  file = get_line(pc-1,Pike_fp->context.prog,&linep); -  while((f=STRCHR(file,'/'))) file=f+1; +  filep = get_line(pc-1,Pike_fp->context.prog,&linep); +  file = filep->str; +  while((f=STRCHR(file,'/'))) +  file=f+1;    fprintf(stderr,"- %s:%4ld:(%lx): %-25s %4ld %4ld\n",    file,(long)linep,    DO_NOT_WARN((long)(pc-Pike_fp->context.prog->program-1)),   #ifdef HAVE_COMPUTED_GOTO    get_opcode_name(instr),   #else /* !HAVE_COMPUTED_GOTO */    get_f_name(instr + F_OFFSET),   #endif /* HAVE_COMPUTED_GOTO */    DO_NOT_WARN((long)(Pike_sp-Pike_interpreter.evaluator_stack)),    DO_NOT_WARN((long)(Pike_mark_sp-Pike_interpreter.mark_stack))); -  +  free_string(filep);    }      #ifdef HAVE_COMPUTED_GOTO    if (instr)    ADD_RUNNED(instr);    else    fatal("NULL Instruction!\n");   #else /* !HAVE_COMPUTED_GOTO */    if(instr + F_OFFSET < F_MAX_OPCODE)    ADD_RUNNED(instr + F_OFFSET);