зеркало из https://github.com/github/ruby.git
* vm.c (rb_vm_mark): mark the last element of special_exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6c32d10c01
Коммит
92afa05222
|
@ -1,3 +1,7 @@
|
|||
Tue Jul 8 21:45:22 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* vm.c (rb_vm_mark): mark the last element of special_exceptions.
|
||||
|
||||
Tue Jul 8 19:55:40 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole.c (find_default_source): try to
|
||||
|
|
2
vm.c
2
vm.c
|
@ -1396,7 +1396,7 @@ rb_vm_mark(void *ptr)
|
|||
RUBY_MARK_UNLESS_NULL(vm->loaded_features);
|
||||
RUBY_MARK_UNLESS_NULL(vm->top_self);
|
||||
RUBY_MARK_UNLESS_NULL(vm->coverages);
|
||||
rb_gc_mark_locations(vm->special_exceptions, vm->special_exceptions + ruby_special_error_count - 1);
|
||||
rb_gc_mark_locations(vm->special_exceptions, vm->special_exceptions + ruby_special_error_count);
|
||||
|
||||
if (vm->loading_table) {
|
||||
rb_mark_tbl(vm->loading_table);
|
||||
|
|
Загрузка…
Ссылка в новой задаче