diff options
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index b32234cbf4..554aad47b1 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1409,7 +1409,8 @@ call_cfunc_15(VALUE (*func)(ANYARGS), const rb_call_info_t *ci, const VALUE *arg static int vm_profile_counter[4]; #define VM_PROFILE_UP(x) (vm_profile_counter[x]++) #define VM_PROFILE_ATEXIT() atexit(vm_profile_show_result) -static void vm_profile_show_result(void) { +static void vm_profile_show_result(void) +{ fprintf(stderr, "VM Profile results: \n"); fprintf(stderr, "r->c call: %d\n", vm_profile_counter[0]); fprintf(stderr, "r->c popf: %d\n", vm_profile_counter[1]); |