зеркало из https://github.com/github/ruby.git
adjust indent
* object.c (rb_obj_alloc): adjust indent. * vm.c (vm_collect_usage_{insn,operand,register}): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6f64d9eb56
Коммит
b29b2962d2
4
object.c
4
object.c
|
@ -1689,8 +1689,8 @@ rb_obj_alloc(VALUE klass)
|
|||
if (RUBY_DTRACE_OBJECT_CREATE_ENABLED()) {
|
||||
const char * file = rb_sourcefile();
|
||||
RUBY_DTRACE_OBJECT_CREATE(rb_class2name(klass),
|
||||
file ? file : "",
|
||||
rb_sourceline());
|
||||
file ? file : "",
|
||||
rb_sourceline());
|
||||
}
|
||||
|
||||
obj = (*allocator)(klass);
|
||||
|
|
6
vm.c
6
vm.c
|
@ -2499,7 +2499,7 @@ vm_collect_usage_insn(int insn)
|
|||
RUBY_DTRACE_INSN(rb_insns_name(insn));
|
||||
}
|
||||
if (ruby_vm_collect_usage_func_insn)
|
||||
(*ruby_vm_collect_usage_func_insn)(insn);
|
||||
(*ruby_vm_collect_usage_func_insn)(insn);
|
||||
}
|
||||
|
||||
/* @param insn instruction number
|
||||
|
@ -2517,7 +2517,7 @@ vm_collect_usage_operand(int insn, int n, VALUE op)
|
|||
RUBY_DTRACE_INSN_OPERAND(RSTRING_PTR(valstr), rb_insns_name(insn));
|
||||
}
|
||||
if (ruby_vm_collect_usage_func_operand)
|
||||
(*ruby_vm_collect_usage_func_operand)(insn, n, op);
|
||||
(*ruby_vm_collect_usage_func_operand)(insn, n, op);
|
||||
}
|
||||
|
||||
#if VM_COLLECT_USAGE_DETAILS
|
||||
|
@ -2527,7 +2527,7 @@ static void
|
|||
vm_collect_usage_register(int reg, int isset)
|
||||
{
|
||||
if (ruby_vm_collect_usage_func_register)
|
||||
(*ruby_vm_collect_usage_func_register)(reg, isset);
|
||||
(*ruby_vm_collect_usage_func_register)(reg, isset);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче