summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index b4cdda3..3ae92e8 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1520,7 +1520,7 @@ iseq_s_of(VALUE klass, VALUE body)
ret = iseq->self;
}
}
- else if ((iseq = rb_method_get_iseq(body)) != 0) {
+ else if ((iseq = rb_method_iseq(body)) != 0) {
ret = iseq->self;
}
return ret;