From c746f380f278683e98262883ed69319bd9fa680e Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Thu, 27 Oct 2022 05:57:59 +1030 Subject: YJIT: Support nil and blockparamproxy as blockarg in send (#6492) Co-authored-by: John Hawthorn Co-authored-by: John Hawthorn --- yjit.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'yjit.c') diff --git a/yjit.c b/yjit.c index 7e6fc9e3fb..c53444d5a3 100644 --- a/yjit.c +++ b/yjit.c @@ -592,6 +592,12 @@ rb_get_iseq_body_local_iseq(const rb_iseq_t *iseq) return iseq->body->local_iseq; } +const rb_iseq_t * +rb_get_iseq_body_parent_iseq(const rb_iseq_t *iseq) +{ + return iseq->body->parent_iseq; +} + unsigned int rb_get_iseq_body_local_table_size(const rb_iseq_t *iseq) { -- cgit v1.2.3