ruby-changes:40581
From: nobu <ko1@a...>
Date: Thu, 19 Nov 2015 08:33:12 +0900 (JST)
Subject: [ruby-changes:40581] nobu:r52660 (trunk): gc.c: use BUILTIN_TYPE
nobu 2015-11-19 08:33:08 +0900 (Thu, 19 Nov 2015) New Revision: 52660 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52660 Log: gc.c: use BUILTIN_TYPE * gc.c (rb_raw_obj_info): BUILTIN_TYPE works fro non-special_const objects. Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 52659) +++ gc.c (revision 52660) @@ -8966,7 +8966,7 @@ rb_raw_obj_info(char *buff, const int bu https://github.com/ruby/ruby/blob/trunk/gc.c#L8966 } else { const int age = RVALUE_FLAGS_AGE(RBASIC(obj)->flags); - const int type = TYPE(obj); + const int type = BUILTIN_TYPE(obj); #define TF(c) ((c) != 0 ? "true" : "false") #define C(c, s) ((c) != 0 ? (s) : " ") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/