summaryrefslogtreecommitdiff
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
commitc0c20ccb519071802e82341f0bb584c9d833b3de (patch)
treec27ad0dcd1f7354448e4c84cfa3d058e7fe91482 /iseq.c
parent04b7a801318a1a978e17c192a13f0f2679fe2c04 (diff)
* 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 774aafa..1af491e 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));