From 948bd807c3c564317e1c2e8d66ecaf85c49dead7 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 21 Jul 2015 21:28:43 +0000 Subject: * 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 --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index bbd5320fc9..41947a97a2 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; -- cgit v1.2.3