diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-10 02:36:33 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-10 02:36:33 +0000 |
| commit | a80fa4b4d25912cafdba9a68fc7947f7c7a673cf (patch) | |
| tree | c163613ba1c9dc916e9f565ac1a52234f361784d /iseq.c | |
| parent | c16b920cadbfedcbee1537cc9691fc8c0e4d4671 (diff) | |
| download | ruby-a80fa4b4d25912cafdba9a68fc7947f7c7a673cf.tar.gz ruby-a80fa4b4d25912cafdba9a68fc7947f7c7a673cf.tar.xz ruby-a80fa4b4d25912cafdba9a68fc7947f7c7a673cf.zip | |
* iseq.c (prepare_iseq_build): too few arguments to function
rb_ary_tmp_new().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
| -rw-r--r-- | iseq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
