Branch: Tag:

2016-02-11

2016-02-11 19:14:56 by Martin Nilsson <nilsson@fastmail.com>

DO_IF_PROFILING was only used for debug printouts, so rewrite it as such.

2058: Inside #if defined(PROFILING)
   * put it here until someone needs it. -Hubbe    */    new_frame->ident = ref->identifier_offset; -  DO_IF_PROFILING_DEBUG({ -  fprintf(stderr, "%p{: Push at %" PRINT_CPU_TIME +  W_PROFILING_DEBUG("%p{: Push at %" PRINT_CPU_TIME    " %" PRINT_CPU_TIME "\n", -  Pike_interpreter.thread_state, new_frame->start_time, +  Pike_interpreter.thread_state, +  new_frame->start_time,    new_frame->children_base); -  }); +    #endif    new_frame->next = Pike_fp;    add_ref(new_frame->current_object = o);