[前][次][番号順一覧][スレッド一覧]

ruby-changes:32158

From: ko1 <ko1@a...>
Date: Mon, 16 Dec 2013 18:07:57 +0900 (JST)
Subject: [ruby-changes:32158] ko1:r44237 (trunk): * gc.c (rb_objspace_markable_object_p): fix last commit (build error).

ko1	2013-12-16 18:07:52 +0900 (Mon, 16 Dec 2013)

  New Revision: 44237

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44237

  Log:
    * gc.c (rb_objspace_markable_object_p): fix last commit (build error).

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44236)
+++ ChangeLog	(revision 44237)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Dec 16 18:07:30 2013  Koichi Sasada  <ko1@a...>
+
+	* gc.c (rb_objspace_markable_object_p): fix last commit (build error).
+
 Mon Dec 16 18:04:28 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c (rb_objspace_markable_object_p): it should be live objects.
Index: gc.c
===================================================================
--- gc.c	(revision 44236)
+++ gc.c	(revision 44237)
@@ -2266,7 +2266,8 @@ is_markable_object(rb_objspace_t *objspa https://github.com/ruby/ruby/blob/trunk/gc.c#L2266
 int
 rb_objspace_markable_object_p(VALUE obj)
 {
-    return is_live_object(obj) && is_markable_object(&rb_objspace, obj);
+    rb_objspace_t *objspace = &rb_objspace;
+    return is_live_object(objspace, obj) && is_markable_object(objspace, obj);
 }
 
 /*

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]