From 8a83cd100bb932f47ecc7e214e9d89cb8ec3beae Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 8 Jan 2018 16:06:33 +0000 Subject: use `getblockparamproxy` to pass blocks. * compile.c (setup_args): use `getblockparamproxy` (`rb_block_param_proxy`) to represent a block parameter passing. * vm_args.c (vm_caller_setup_arg_block): check `rb_block_param_proxy` instead of using `VM_CALL_ARGS_BLOCKARG_BLOCKPARAM` call flag. * vm_core.h (VM_CALL_ARGS_BLOCKARG_BLOCKPARAM): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 1 - 1 file changed, 1 deletion(-) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index 8eb487ab11..e49e8d9226 100644 --- a/iseq.c +++ b/iseq.c @@ -1558,7 +1558,6 @@ rb_insn_operand_intern(const rb_iseq_t *iseq, # define CALL_FLAG(n) if (ci->flag & VM_CALL_##n) rb_ary_push(flags, rb_str_new2(#n)) CALL_FLAG(ARGS_SPLAT); CALL_FLAG(ARGS_BLOCKARG); - CALL_FLAG(ARGS_BLOCKARG_BLOCKPARAM); CALL_FLAG(FCALL); CALL_FLAG(VCALL); CALL_FLAG(ARGS_SIMPLE); -- cgit v1.2.3