mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
594f2fcfc0
commit
8147a76b23
2 changed files with 6 additions and 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):
|
||||
|
|
1
iseq.c
1
iseq.c
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue