summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 21:28:43 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 21:28:43 (GMT)
commit948bd807c3c564317e1c2e8d66ecaf85c49dead7 (patch)
tree8d6c945cf4d7a4df45fd319613046ccab49f4b32 /vm.c
parentc5618920ed9cdfafc539a7b43f0911fbdff7bd19 (diff)
* vm_core.h: constify rb_call_info_t::blockiseq and rb_iseq_t::iseq.
* vm.c, vm_insnhelper.c: catch up this fix. * iseq.c (iseq_data_to_ary): constify the first iseq parameter. * vm_insnhelper.c (vm_make_proc_with_iseq): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index bbd5320..41947a9 100644
--- a/vm.c
+++ b/vm.c
@@ -769,7 +769,7 @@ rb_binding_add_dynavars(rb_binding_t *bind, int dyncount, const ID *dynvars)
rb_env_t *env;
rb_block_t *base_block;
rb_thread_t *th = GET_THREAD();
- rb_iseq_t *base_iseq;
+ const rb_iseq_t *base_iseq;
NODE *node = 0;
ID minibuf[4], *dyns = minibuf;
VALUE idtmp = 0;