From 85b8a7e1343b919940148ac740c63037602553aa Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 24 Jul 2015 19:49:16 +0000 Subject: * vm_core.h: constify rb_iseq_constant_body::catch_table. * compile.c (iseq_set_exception_table): catch up this fix. * iseq.c: ditto. * vm.c (vm_exec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index e1f5212deb..594f0ea49e 100644 --- a/vm.c +++ b/vm.c @@ -1478,8 +1478,8 @@ vm_exec(rb_thread_t *th) } else { int i; - struct iseq_catch_table_entry *entry; - struct iseq_catch_table *ct; + const struct iseq_catch_table_entry *entry; + const struct iseq_catch_table *ct; unsigned long epc, cont_pc, cont_sp; const rb_iseq_t *catch_iseq; rb_control_frame_t *cfp; -- cgit v1.2.3