From 9b47ec04a89711766c4d14b6d7792fecc7c7b185 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 19 Jun 2013 06:26:01 +0000 Subject: * 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 --- iseq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iseq.h') 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; -- cgit v1.2.3