mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* iseq.c (prepare_iseq_build): too few arguments to function
rb_ary_tmp_new(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
756c803881
commit
6fe3eaec6c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 10 11:36:32 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* iseq.c (prepare_iseq_build): too few arguments to function
|
||||
rb_ary_tmp_new().
|
||||
|
||||
Tue Mar 10 10:53:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* iseq.c (rb_iseq_compile_with_option): argument may be converted.
|
||||
|
|
4
iseq.c
4
iseq.c
|
@ -190,7 +190,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->mark_ary = rb_ary_tmp_new();
|
||||
iseq->compile_data->mark_ary = rb_ary_tmp_new(3);
|
||||
|
||||
iseq->compile_data->storage_head = iseq->compile_data->storage_current =
|
||||
(struct iseq_compile_data_storage *)
|
||||
|
@ -1378,7 +1378,7 @@ rb_iseq_build_for_ruby2cext(
|
|||
*iseq = *iseq_template;
|
||||
iseq->name = rb_str_new2(name);
|
||||
iseq->filename = rb_str_new2(filename);
|
||||
iseq->mark_ary = rb_ary_new();
|
||||
iseq->mark_ary = rb_ary_tmp_new(3);
|
||||
iseq->self = iseqval;
|
||||
|
||||
iseq->iseq = ALLOC_N(VALUE, iseq->iseq_size);
|
||||
|
|
Loading…
Reference in a new issue