diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-24 19:49:16 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-24 19:49:16 +0000 |
commit | 8fbf5dd9e5bd38c2ade0384f8a7503f7cc1db8a4 (patch) | |
tree | e060a0371be52f708b4be054758654f80b5488ce /vm.c | |
parent | 7d517ffc80a6cf6e5097ce9ea6ae5ac19ab7e77f (diff) | |
download | ruby-8fbf5dd9e5bd38c2ade0384f8a7503f7cc1db8a4.tar.gz |
* 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |