2016-02-11
2016-02-11 19:14:56 by Martin Nilsson <nilsson@fastmail.com>
-
ec4131c8bddc9fe2d4f0d9ef7829cd9a99fc865c
(12 lines)
(+6/-6)
[
Show
| Annotate
]
Branch: 8.1
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);