mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_insnhelper.c: adjust indent
* vm_insnhelper.c (check_match): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f01b5e217b
commit
c7652dec6f
1 changed files with 3 additions and 3 deletions
|
@ -927,11 +927,11 @@ check_match(VALUE pattern, VALUE target, enum vm_check_match_type type)
|
||||||
VALUE defined_class;
|
VALUE defined_class;
|
||||||
rb_method_entry_t *me = rb_method_entry_with_refinements(CLASS_OF(pattern), idEqq, &defined_class);
|
rb_method_entry_t *me = rb_method_entry_with_refinements(CLASS_OF(pattern), idEqq, &defined_class);
|
||||||
if (me) {
|
if (me) {
|
||||||
return vm_call0(GET_THREAD(), pattern, idEqq, 1, &target, me, defined_class);
|
return vm_call0(GET_THREAD(), pattern, idEqq, 1, &target, me, defined_class);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* fallback to funcall (e.g. method_missing) */
|
/* fallback to funcall (e.g. method_missing) */
|
||||||
return rb_funcall2(pattern, idEqq, 1, &target);
|
return rb_funcall2(pattern, idEqq, 1, &target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue