summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-10 15:48:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-10 15:48:06 +0000
commita3b6e114b4b01e069136be3ee9383ecc6891ca8f (patch)
tree890f9d7345d05a9d0786403cc83579b459ee11d5
parent4cdd83f6866529cadaa9cdbce57d82bf5b27c653 (diff)
use BUITIN_TYPE() rather than TYPE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index ae7a8ca5dd..64907e9686 100644
--- a/gc.c
+++ b/gc.c
@@ -924,7 +924,7 @@ gc_sweep()
else {
RBASIC(p)->flags &= ~FL_MARK;
live += sizeof(VALUE);
- switch (TYPE(p)) {
+ switch (BUILTIN_TYPE(p)) {
case T_OBJECT:
live += size_of_table(ROBJECT(p)->iv_tbl);
break;