aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iseq.c b/iseq.c
index 15d1de698c..742083f8a7 100644
--- a/iseq.c
+++ b/iseq.c
@@ -548,7 +548,7 @@ iseq_load(VALUE self, VALUE data, VALUE parent, VALUE opt)
return iseqval;
}
-rb_iseq_t *
+VALUE
rb_method_for_self_aref(VALUE name, VALUE arg)
{
VALUE iseqval = iseq_alloc(rb_cISeq);
@@ -591,10 +591,10 @@ rb_method_for_self_aref(VALUE name, VALUE arg)
rb_iseq_build_from_ary(iseq, misc, locals, params, exception, body);
cleanup_iseq_build(iseq);
- return iseq;
+ return iseqval;
}
-rb_iseq_t *
+VALUE
rb_method_for_self_aset(VALUE name, VALUE arg)
{
VALUE iseqval = iseq_alloc(rb_cISeq);
@@ -646,7 +646,7 @@ rb_method_for_self_aset(VALUE name, VALUE arg)
rb_iseq_build_from_ary(iseq, misc, locals, params, exception, body);
cleanup_iseq_build(iseq);
- return iseq;
+ return iseqval;
}
/*