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 | 85b8a7e1343b919940148ac740c63037602553aa (patch) | |
tree | e060a0371be52f708b4be054758654f80b5488ce /vm_core.h | |
parent | b2fc0a4a5c22de1f7928dcd0d4e581e469a2a2e1 (diff) | |
download | ruby-85b8a7e1343b919940148ac740c63037602553aa.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_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -335,7 +335,7 @@ struct rb_iseq_constant_body { const ID *local_table; /* must free */ /* catch table */ - struct iseq_catch_table *catch_table; + const struct iseq_catch_table *catch_table; /* for child iseq */ const struct rb_iseq_struct *parent_iseq; |