From 2a0bf269c96643fcac27bca63aff2371bbffabdd Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 31 Jan 2023 07:11:10 -0800 Subject: YJIT: Implement codegen for Kernel#block_given? (#7202) --- object.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index 566ac3b9fa..54f516314e 100644 --- a/object.c +++ b/object.c @@ -569,12 +569,6 @@ rb_obj_size(VALUE self, VALUE args, VALUE obj) return LONG2FIX(1); } -static VALUE -block_given_p(rb_execution_context_t *ec, VALUE self) -{ - return RBOOL(rb_block_given_p()); -} - /** * :nodoc: *-- -- cgit v1.2.3