diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-17 15:08:36 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-17 15:08:36 +0000 |
commit | 8147a76b23bdbfa804f5aad873e92355876f774b (patch) | |
tree | ab6ce5b4fb0dd3368451608a0040a913460fc4e6 | |
parent | 594f2fcfc0ecaf32e144357f78d96f4c440e4e25 (diff) | |
download | ruby-8147a76b23bdbfa804f5aad873e92355876f774b.tar.gz |
* iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_info
with nil. this fix exception in rb_iseq_load().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iseq.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Feb 17 23:54:29 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com> + + * iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_info + with nil. this fix exception in rb_iseq_load(). + Thu Feb 17 22:32:35 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com> * test/ruby/test_marshal.rb (test_marshal_dump_extra_iv): @@ -250,6 +250,7 @@ prepare_iseq_build(rb_iseq_t *iseq, iseq->compile_data = ALLOC(struct iseq_compile_data); MEMZERO(iseq->compile_data, struct iseq_compile_data, 1); + iseq->compile_data->err_info = Qnil; iseq->compile_data->mark_ary = rb_ary_tmp_new(3); iseq->compile_data->storage_head = iseq->compile_data->storage_current = |