ruby-changes:31558
From: ktsj <ko1@a...>
Date: Sun, 10 Nov 2013 23:50:19 +0900 (JST)
Subject: [ruby-changes:31558] ktsj:r43637 (trunk): * gc.c (rb_gcdebug_print_obj_condition): catch up recent changes
ktsj 2013-11-10 23:50:13 +0900 (Sun, 10 Nov 2013) New Revision: 43637 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43637 Log: * gc.c (rb_gcdebug_print_obj_condition): catch up recent changes to compile on GC_DEBUG. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43636) +++ ChangeLog (revision 43637) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Nov 10 23:47:05 2013 Kazuki Tsujimoto <kazuki@c...> + + * gc.c (rb_gcdebug_print_obj_condition): catch up recent changes + to compile on GC_DEBUG. + Sun Nov 10 22:16:19 2013 Nobuyoshi Nakada <nobu@r...> * error.c (exc_cause): captured previous exception. Index: gc.c =================================================================== --- gc.c (revision 43636) +++ gc.c (revision 43637) @@ -6706,7 +6706,7 @@ rb_gcdebug_print_obj_condition(VALUE obj https://github.com/ruby/ruby/blob/trunk/gc.c#L6706 #if RGENGC_THREEGEN fprintf(stderr, "young? : %s\n", RVALUE_YOUNG_P(obj) ? "true" : "false"); #endif - fprintf(stderr, "old? : %s\n", RVALUE_OLDGEN_P(obj) ? "true" : "false"); + fprintf(stderr, "old? : %s\n", RVALUE_OLD_P(obj) ? "true" : "false"); fprintf(stderr, "shady? : %s\n", RVALUE_SHADY(obj) ? "true" : "false"); fprintf(stderr, "remembered?: %s\n", MARKED_IN_BITMAP(GET_HEAP_REMEMBERSET_BITS(obj), obj) ? "true" : "false"); #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/