aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 10:47:45 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 10:47:45 +0000
commitf76d1f8124089057417725f2dd90a7a9b011fa89 (patch)
treec27ad0dcd1f7354448e4c84cfa3d058e7fe91482 /iseq.c
parentec8895ddbb2b2cd321fca870c78a9b08476c9494 (diff)
downloadruby-f76d1f8124089057417725f2dd90a7a9b011fa89.tar.gz
* compile.c: constify the first parameter (iseq).
* iseq_add_mark_object() * iseq_add_mark_object_compile_time() * iseq.c, iseq.h (rb_iseq_add_mark_object): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 774aafadda..1af491e997 100644
--- a/iseq.c
+++ b/iseq.c
@@ -229,7 +229,7 @@ set_relation(rb_iseq_t *iseq, const VALUE parent)
}
void
-rb_iseq_add_mark_object(rb_iseq_t *iseq, VALUE obj)
+rb_iseq_add_mark_object(const rb_iseq_t *iseq, VALUE obj)
{
if (!RTEST(iseq->mark_ary)) {
RB_OBJ_WRITE(iseq->self, &iseq->mark_ary, rb_ary_tmp_new(3));