pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:2192: Inside #if defined(PIKE_DEBUG)
   Pike_fatal("You can't touch this!\n");    }    }   #endif    /* Save various fields from the previous frame.    */    current->save_sp=prev->save_sp;    current->save_mark_sp=prev->save_mark_sp;    current->flags = prev->flags;    -  /* Unlink the top frame temporarily. */ -  Pike_interpreter.frame_pointer=prev; -  +    #ifdef PROFILING    {    /* We must update the profiling info of the previous frame    * to account for that the current frame has gone away.    */    cpu_time_t total_time =    get_cpu_time() - (Pike_interpreter.unlocked_time + current->start_time);    cpu_time_t child_time =    Pike_interpreter.accounted_time - current->children_base;    struct identifier *function =
pike.git/src/interpret.c:2225: Inside #if defined(PROFILING) and #if defined(PROFILING_DEBUG)
   Pike_interpreter.thread_state,    prev->start_time, prev->children_base,    current->start_time, current->children_base);   #endif /* PROFILING_DEBUG */    }   #endif /* PROFILING */       Pike_fp = prev->next;    current->next=Pike_interpreter.frame_pointer;    -  frame_unlink(prev); -  +     if (--prev->refs <= 0) {    really_free_pike_frame(prev); -  +  } else { +  frame_unlink(prev);    }       /* Hook our frame again. */    Pike_interpreter.frame_pointer=current;      #ifdef PROFILING    current->children_base = Pike_interpreter.accounted_time;    current->start_time = get_cpu_time() - Pike_interpreter.unlocked_time;   #endif /* PROFILING */   }