diff options
author | Takashi Kokubun <[email protected]> | 2023-03-17 11:53:17 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-17 11:53:17 -0700 |
commit | 9fd94d6a0cc7626c8abfc9ba05d6f156927ee8f7 (patch) | |
tree | 281ac6178534fae0064679b2b1b20e73dc0dd036 /yjit.c | |
parent | 3592b24cdc07ed89eecb39161f21fe721a89a5de (diff) |
YJIT: Support entry for multiple PCs per ISEQ (GH-7535)
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7535
Merged-By: k0kubun <[email protected]>
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -765,6 +765,12 @@ rb_get_ec_cfp(const rb_execution_context_t *ec) return ec->cfp; } +const rb_iseq_t * +rb_get_cfp_iseq(struct rb_control_frame_struct *cfp) +{ + return cfp->iseq; +} + VALUE * rb_get_cfp_pc(struct rb_control_frame_struct *cfp) { |