summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-15 09:58:59 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-15 09:58:59 +0000
commitf13e9b734cbdec6f93796aa68feb95f0b123a040 (patch)
tree9a83938293389fe2cdd2346093c778930e1fee16 /gc.c
parent0aecfb04393982d79907539dcd202c71c28c7f53 (diff)
* gc.c (os_live_obj): fix to skip T_VALUES.
* sample/test.rb: add an ObjectSpace test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 7a646a160f..f187b06820 100644
--- a/gc.c
+++ b/gc.c
@@ -1698,6 +1698,7 @@ os_live_obj(void)
switch (TYPE(p)) {
case T_ICLASS:
case T_NODE:
+ case T_VALUES:
continue;
case T_CLASS:
if (FL_TEST(p, FL_SINGLETON)) continue;