diff --git a/proc.c b/proc.c index c78274526b..83691a49ec 100644 --- a/proc.c +++ b/proc.c @@ -384,8 +384,6 @@ bind_eval(int argc, VALUE *argv, VALUE bindval) return rb_f_eval(argc+1, args, Qnil /* self will be searched in eval */); } -VALUE rb_vm_bh_to_procval(rb_execution_context_t *ec, VALUE block_handler); - static const VALUE * get_local_variable_ptr(const rb_env_t **envp, ID lid) { diff --git a/vm_core.h b/vm_core.h index 62d66ce37e..62314e6511 100644 --- a/vm_core.h +++ b/vm_core.h @@ -1547,6 +1547,7 @@ void rb_vm_stack_to_heap(rb_thread_t *th); void ruby_thread_init_stack(rb_thread_t *th); int rb_vm_control_frame_id_and_class(const rb_control_frame_t *cfp, ID *idp, ID *called_idp, VALUE *klassp); void rb_vm_rewind_cfp(rb_thread_t *th, rb_control_frame_t *cfp); +VALUE rb_vm_bh_to_procval(rb_execution_context_t *ec, VALUE block_handler); void rb_vm_register_special_exception_str(enum ruby_special_exceptions sp, VALUE exception_class, VALUE mesg);