summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-24 19:49:16 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-24 19:49:16 (GMT)
commit8fbf5dd9e5bd38c2ade0384f8a7503f7cc1db8a4 (patch)
treee060a0371be52f708b4be054758654f80b5488ce /vm.c
parent7d517ffc80a6cf6e5097ce9ea6ae5ac19ab7e77f (diff)
* 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
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index e1f5212..594f0ea 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;