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
This commit is contained in:
parent
2b5c2ebfbf
commit
c2b4d38165
3
eval.c
3
eval.c
@ -1144,7 +1144,8 @@ rb_using_module(NODE *cref, VALUE module)
|
|||||||
using_module_recursive(cref, module);
|
using_module_recursive(cref, module);
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE rb_refinement_module_get_refined_class(VALUE module)
|
VALUE
|
||||||
|
rb_refinement_module_get_refined_class(VALUE module)
|
||||||
{
|
{
|
||||||
ID id_refined_class;
|
ID id_refined_class;
|
||||||
|
|
||||||
|
@ -1464,7 +1464,8 @@ call_cfunc_15(VALUE (*func)(ANYARGS), VALUE recv, int argc, const VALUE *argv)
|
|||||||
static int vm_profile_counter[4];
|
static int vm_profile_counter[4];
|
||||||
#define VM_PROFILE_UP(x) (vm_profile_counter[x]++)
|
#define VM_PROFILE_UP(x) (vm_profile_counter[x]++)
|
||||||
#define VM_PROFILE_ATEXIT() atexit(vm_profile_show_result)
|
#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, "VM Profile results: \n");
|
||||||
fprintf(stderr, "r->c call: %d\n", vm_profile_counter[0]);
|
fprintf(stderr, "r->c call: %d\n", vm_profile_counter[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user