summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 07:14:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 07:14:32 +0000
commit877acd03f60c76e94da377ec5838fd5bb95725d7 (patch)
tree557e8cff9e08198799b642475d83c6959c12f68f /vm.c
parent53106bd5c3f54e0f922a7325875406f7c724153d (diff)
* compile.c (iseq_set_arguments, iseq_compile_each): internal
arrays must be hidden. [ruby-dev:38613] * vm.c (Init_top_self): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index acd624d6b2..983b11d5b5 100644
--- a/vm.c
+++ b/vm.c
@@ -2066,7 +2066,7 @@ Init_top_self(void)
rb_define_singleton_method(rb_vm_top_self(), "to_s", main_to_s, 0);
/* initialize mark object array */
- vm->mark_object_ary = rb_ary_new();
+ vm->mark_object_ary = rb_ary_tmp_new(1);
}
VALUE *