aboutsummaryrefslogtreecommitdiffstats
path: root/vm_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_args.c')
-rw-r--r--vm_args.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/vm_args.c b/vm_args.c
index e0c7448f6b..2546b86e8e 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -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;