eval_intern.h: duplicate check
* eval_intern.h (pass_passed_block_handler): remove duplicate check. vm_block_handler_verify() is called in the successive function call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04de75bf9c
commit
440a6476f2
@ -15,7 +15,6 @@ static inline void
|
|||||||
pass_passed_block_handler(rb_execution_context_t *ec)
|
pass_passed_block_handler(rb_execution_context_t *ec)
|
||||||
{
|
{
|
||||||
VALUE block_handler = rb_vm_frame_block_handler(ec->cfp);
|
VALUE block_handler = rb_vm_frame_block_handler(ec->cfp);
|
||||||
vm_block_handler_verify(block_handler);
|
|
||||||
vm_passed_block_handler_set(ec, block_handler);
|
vm_passed_block_handler_set(ec, block_handler);
|
||||||
VM_ENV_FLAGS_SET(ec->cfp->ep, VM_FRAME_FLAG_PASSED);
|
VM_ENV_FLAGS_SET(ec->cfp->ep, VM_FRAME_FLAG_PASSED);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user