1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_args.c (vm_caller_setup_arg_block): remove code for ifunc

because it was made unnecessary by r52138.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2015-12-17 13:15:20 +00:00
parent 94b3c4121b
commit d7b2eccceb
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 17 22:13:10 2015 Shugo Maeda <shugo@ruby-lang.org>
* vm_args.c (vm_caller_setup_arg_block): remove code for ifunc
because it was made unnecessary by r52138.
Thu Dec 17 16:13:10 2015 Shugo Maeda <shugo@ruby-lang.org>
* proc.c (rb_block_arity): should not call GetProcPtr() for symbols.

View file

@ -785,11 +785,6 @@ vm_caller_setup_arg_block(const rb_thread_t *th, rb_control_frame_t *reg_cfp,
calling->blockptr->iseq = (rb_iseq_t *)proc;
calling->blockptr->proc = proc;
}
else if (RUBY_VM_IFUNC_P(proc)) {
calling->blockptr = RUBY_VM_GET_BLOCK_PTR_IN_CFP(reg_cfp);
calling->blockptr->iseq = (rb_iseq_t *)proc;
calling->blockptr->proc = proc;
}
else {
if (!rb_obj_is_proc(proc)) {
VALUE b;