summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 07:53:26 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 07:53:26 (GMT)
commit440a6476f2405bd30e1148ceaba082427de5bd83 (patch)
tree9830876690492295265e7a8f83e7ae88f025d91a /eval_intern.h
parent04de75bf9c4aa773b6d774e5e765b1af230d67c4 (diff)
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
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/eval_intern.h b/eval_intern.h
index 420f3d3..5352be4 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -15,7 +15,6 @@ static inline void
pass_passed_block_handler(rb_execution_context_t *ec)
{
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_ENV_FLAGS_SET(ec->cfp->ep, VM_FRAME_FLAG_PASSED);
}