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

ruby-changes:29608

From: kou <ko1@a...>
Date: Wed, 26 Jun 2013 23:13:30 +0900 (JST)
Subject: [ruby-changes:29608] kou:r41660 (trunk): * gc.c (is_before_sweep): Add a missing space before a parenthesis.

kou	2013-06-26 23:13:20 +0900 (Wed, 26 Jun 2013)

  New Revision: 41660

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

  Log:
    * gc.c (is_before_sweep): Add a missing space before a parenthesis.
    * gc.c (rb_gc_force_recycle): Add a missing space around a parenthesis.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41659)
+++ ChangeLog	(revision 41660)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jun 26 23:11:14 2013  Kouhei Sutou  <kou@c...>
+
+	* gc.c (is_before_sweep): Add a missing space before a parenthesis.
+	* gc.c (rb_gc_force_recycle): Add a missing space around a parenthesis.
+
 Wed Jun 26 22:44:00 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* include/ruby/intern.h (rb_enumeratorize_with_size): cast for
Index: gc.c
===================================================================
--- gc.c	(revision 41659)
+++ gc.c	(revision 41660)
@@ -611,7 +611,7 @@ is_before_sweep(VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L611
     if (is_lazy_sweeping(objspace)) {
 	slot = objspace->heap.sweep_slots;
 	while (slot) {
-	    if(slot->header == GET_HEAP_HEADER(obj))
+	    if (slot->header == GET_HEAP_HEADER(obj))
 		return TRUE;
 	    slot = slot->next;
 	}
@@ -3987,7 +3987,7 @@ rb_gc_force_recycle(VALUE p) https://github.com/ruby/ruby/blob/trunk/gc.c#L3987
 #if USE_RGENGC
     CLEAR_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(p), p);
     CLEAR_IN_BITMAP(GET_HEAP_OLDGEN_BITS(p), p);
-    if(!is_before_sweep(p)){
+    if (!is_before_sweep(p)) {
 	CLEAR_IN_BITMAP(GET_HEAP_MARK_BITS(p), p);
     }
 #endif

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

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