diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-18 23:33:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-18 23:33:08 +0000 |
commit | 77557e23326cf497b57497ab1a0db4266af89636 (patch) | |
tree | c1d5a0414f8583e56e0562d2f33f567667d0645f /gc.c | |
parent | 43b7f3002c5c1e1048fa0935ff6785189fa69808 (diff) | |
download | ruby-77557e23326cf497b57497ab1a0db4266af89636.tar.gz |
gc.c: use BUILTIN_TYPE
* gc.c (rb_raw_obj_info): BUILTIN_TYPE works fro non-special_const
objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8966,7 +8966,7 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj) } 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) : " ") |