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

ruby-changes:35474

From: nobu <ko1@a...>
Date: Fri, 12 Sep 2014 23:17:12 +0900 (JST)
Subject: [ruby-changes:35474] nobu:r47556 (trunk): follow RIncGC

nobu	2014-09-12 23:16:57 +0900 (Fri, 12 Sep 2014)

  New Revision: 47556

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

  Log:
    follow RIncGC
    
    * .gdbinit (rp), debug.c (RUBY_FL_PROMOTED): follow RIncGC.

  Modified files:
    trunk/.gdbinit
    trunk/debug.c
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 47555)
+++ .gdbinit	(revision 47556)
@@ -50,7 +50,7 @@ define rp https://github.com/ruby/ruby/blob/trunk/.gdbinit#L50
     end
   else
   set $flags = ((struct RBasic*)($arg0))->flags
-  if ($flags & RUBY_FL_PROMOTED)
+  if ($flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED
     printf "[PROMOTED] "
   end
   if ($flags & RUBY_T_MASK) == RUBY_T_NONE
Index: debug.c
===================================================================
--- debug.c	(revision 47555)
+++ debug.c	(revision 47556)
@@ -35,6 +35,7 @@ const union { https://github.com/ruby/ruby/blob/trunk/debug.c#L35
         RUBY_ENC_CODERANGE_BROKEN  = ENC_CODERANGE_BROKEN,
         RUBY_FL_PROMOTED0   = FL_PROMOTED0,
         RUBY_FL_PROMOTED1   = FL_PROMOTED1,
+        RUBY_FL_PROMOTED    = FL_PROMOTED0|FL_PROMOTED1,
         RUBY_FL_FINALIZE    = FL_FINALIZE,
         RUBY_FL_TAINT       = FL_TAINT,
         RUBY_FL_EXIVAR      = FL_EXIVAR,

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

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