mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use GET_VM()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4049ffb58e
commit
d1013f2ab8
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -6231,7 +6231,7 @@ rb_gc_force_recycle(VALUE obj)
|
|||
void
|
||||
rb_gc_register_mark_object(VALUE obj)
|
||||
{
|
||||
VALUE ary_ary = GET_THREAD()->vm->mark_object_ary;
|
||||
VALUE ary_ary = GET_VM()->mark_object_ary;
|
||||
VALUE ary = rb_ary_last(0, 0, ary_ary);
|
||||
|
||||
if (ary == Qnil || RARRAY_LEN(ary) >= MARK_OBJECT_ARY_BUCKET_SIZE) {
|
||||
|
|
Loading…
Reference in a new issue