mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_call_method): fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9eef2ad282
commit
34df0e5c9f
1 changed files with 34 additions and 35 deletions
|
@ -570,7 +570,6 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp,
|
||||||
|
|
||||||
goto start_method_dispatch;
|
goto start_method_dispatch;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case OPTIMIZED_METHOD_TYPE_CALL: {
|
case OPTIMIZED_METHOD_TYPE_CALL: {
|
||||||
rb_proc_t *proc;
|
rb_proc_t *proc;
|
||||||
int argc = num;
|
int argc = num;
|
||||||
|
@ -580,8 +579,8 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp,
|
||||||
cfp->sp -= num + 1;
|
cfp->sp -= num + 1;
|
||||||
|
|
||||||
val = rb_vm_invoke_proc(th, proc, proc->block.self, argc, argv, blockptr);
|
val = rb_vm_invoke_proc(th, proc, proc->block.self, argc, argv, blockptr);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
rb_bug("eval_invoke_method: unsupported optimized method type (%d)",
|
rb_bug("eval_invoke_method: unsupported optimized method type (%d)",
|
||||||
me->body.optimize_type);
|
me->body.optimize_type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue