ruby-changes:46549
From: nobu <ko1@a...>
Date: Thu, 11 May 2017 23:28:44 +0900 (JST)
Subject: [ruby-changes:46549] nobu:r58664 (trunk): gc.c: use the argument objspace
nobu 2017-05-11 23:28:37 +0900 (Thu, 11 May 2017) New Revision: 58664 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58664 Log: gc.c: use the argument objspace * gc.c (objspace_xrealloc): use the argument objspace, instead of the default object space. Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 58663) +++ gc.c (revision 58664) @@ -7872,7 +7872,7 @@ xmalloc2_size(const size_t count, const https://github.com/ruby/ruby/blob/trunk/gc.c#L7872 static void * objspace_xmalloc2(rb_objspace_t *objspace, size_t n, size_t size) { - return objspace_xmalloc0(&rb_objspace, xmalloc2_size(n, size)); + return objspace_xmalloc0(objspace, xmalloc2_size(n, size)); } static void * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/