diff options
author | Matthew Draper <matthew@trebex.net> | 2022-10-27 05:57:59 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 15:27:59 -0400 |
commit | c746f380f278683e98262883ed69319bd9fa680e (patch) | |
tree | a082096e7303a5fd439773f7ff3f8b27ed45de2a /yjit.c | |
parent | fa0adbad92fc1216ba0d1757fe40f0453e3a6574 (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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |