1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm.c (Init_VM): removed the definition of Thread#initialize,

which is overwritten in Init_Thread and is never used.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-05-17 09:14:24 +00:00
parent 9afd5465e2
commit 9aceaa1129
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat May 17 18:03:52 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* vm.c (Init_VM): removed the definition of Thread#initialize,
which is overwritten in Init_Thread and is never used.
Sat May 17 14:01:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_sort_bang): should not free shared pointer, and set

1
vm.c
View file

@ -1771,7 +1771,6 @@ Init_VM(void)
/* ::Thread */
rb_cThread = rb_define_class("Thread", rb_cObject);
rb_undef_alloc_func(rb_cThread);
rb_define_method(rb_cThread, "initialize", ruby_thread_init, 0);
/* ::VM::USAGE_ANALYSIS_* */
rb_define_const(rb_cVM, "USAGE_ANALYSIS_INSN", rb_hash_new());