summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2022-10-27 05:57:59 +1030
committerGitHub <noreply@github.com>2022-10-26 15:27:59 -0400
commitc746f380f278683e98262883ed69319bd9fa680e (patch)
treea082096e7303a5fd439773f7ff3f8b27ed45de2a /yjit.c
parentfa0adbad92fc1216ba0d1757fe40f0453e3a6574 (diff)
YJIT: Support nil and blockparamproxy as blockarg in send (#6492)
Co-authored-by: John Hawthorn <john@hawthorn.email> Co-authored-by: John Hawthorn <john@hawthorn.email>
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c6
1 files changed, 6 insertions, 0 deletions
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)
{