diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-09 05:17:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-09 05:17:17 +0000 |
commit | c2b4d38165ec2cd7d4946d62dc025cf4c6b78736 (patch) | |
tree | 6659d4a7ac53520e55493cef615ad7fef7d263ff /vm_insnhelper.c | |
parent | 2b5c2ebfbf846a793d50f6212f23705baf5705dc (diff) |
eval.c, vm_insnhelper.c: adjust style
* eval.c (rb_refinement_module_get_refined_class): adjust style.
* vm_insnhelper.c (vm_profile_show_result): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 dd6f26bdc5..5bcc8ed03f 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1464,7 +1464,8 @@ call_cfunc_15(VALUE (*func)(ANYARGS), VALUE recv, int argc, const VALUE *argv) 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]); |