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

ruby-changes:31514

From: tarui <ko1@a...>
Date: Sat, 9 Nov 2013 09:17:28 +0900 (JST)
Subject: [ruby-changes:31514] tarui:r43593 (trunk): * gc.c (RVALUE_PROMOTE_INFANT): Refactoring. Remove duplicated nonsense

tarui	2013-11-09 09:17:23 +0900 (Sat, 09 Nov 2013)

  New Revision: 43593

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

  Log:
    * gc.c (RVALUE_PROMOTE_INFANT): Refactoring. Remove duplicated nonsense
      code.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43592)
+++ ChangeLog	(revision 43593)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov  9 09:16:36 2013  Masaya Tarui  <tarui@r...>
+
+	* gc.c (RVALUE_PROMOTE_INFANT): Refactoring. Remove duplicated nonsense
+	  code.
+
 Sat Nov  9 09:04:48 2013  Masaya Tarui  <tarui@r...>
 
 	* gc.c (gc_marks_test): Bugfix. Fix a struct member name for build
Index: gc.c
===================================================================
--- gc.c	(revision 43592)
+++ gc.c	(revision 43593)
@@ -778,12 +778,6 @@ RVALUE_PROMOTE_INFANT(VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L778
 #endif
     }
 #endif
-
-#if !RGENGC_THREEGEN
-    /* infant -> old */
-    MARK_IN_BITMAP(GET_HEAP_OLDGEN_BITS(obj), obj);
-    check_gen_consistency(obj);
-#endif
 }
 
 #if RGENGC_THREEGEN

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

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