aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 06:26:01 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 06:26:01 +0000
commit9b47ec04a89711766c4d14b6d7792fecc7c7b185 (patch)
tree7f803f68a2a31d9664e4a6848adc027d9867ee02 /iseq.h
parent063d4e41410d079c323b82ba91fbffb92a511a5e (diff)
downloadruby-9b47ec04a89711766c4d14b6d7792fecc7c7b185.tar.gz
* include/ruby/ruby.h (struct rb_data_type_struct), gc.c: add
rb_data_type_struct::flags. Now, this flags is passed at T_DATA object creation. You can specify FL_WB_PROTECTED on this flag. * iseq.c: making non-shady iseq objects. * class.c, compile.c, proc.c, vm.c: add WB for iseq objects. * vm_core.h, iseq.h: constify fields to detect WB insertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.h b/iseq.h
index 19868d8b91..5487d86f7b 100644
--- a/iseq.h
+++ b/iseq.h
@@ -79,9 +79,9 @@ struct iseq_compile_data_storage {
struct iseq_compile_data {
/* GC is needed */
- VALUE err_info;
+ const VALUE err_info;
VALUE mark_ary;
- VALUE catch_table_ary; /* Array */
+ const VALUE catch_table_ary; /* Array */
/* GC is not needed */
struct iseq_label_data *start_label;