summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2023-10-05 16:40:27 -0400
committerAlan Wu <[email protected]>2023-10-05 16:40:27 -0400
commit07a7c4bdaf27b80a8d791032986539d5188804c6 (patch)
treebf3600658175ba2403047981e2f90ed8ba4f69bb /yjit.c
parent41a6e4bdf9738e2cf1ea356422a429efeeb5a8f0 (diff)
YJIT: Remove duplicate cfp->iseq accessor
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/yjit.c b/yjit.c
index badd46b99a..7c9a933c20 100644
--- a/yjit.c
+++ b/yjit.c
@@ -798,13 +798,6 @@ rb_set_cfp_sp(struct rb_control_frame_struct *cfp, VALUE *sp)
cfp->sp = sp;
}
-rb_iseq_t *
-rb_cfp_get_iseq(struct rb_control_frame_struct *cfp)
-{
- // TODO(alan) could assert frame type here to make sure that it's a ruby frame with an iseq.
- return (rb_iseq_t*)cfp->iseq;
-}
-
VALUE
rb_get_cfp_self(struct rb_control_frame_struct *cfp)
{