summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-22 10:28:03 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-22 10:28:03 +0000
commit6c033e5f16bb536ed9f2c5187fda2b6f590cc5e4 (patch)
tree0fac2122434077b7338778545f93a684daecd4e3 /gc.c
parent2f99f3b41a4ad5a4efafb0b71784bd05b99d9bba (diff)
forget to protect cref from gc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@47 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 4e7770556f..bc3517e4d8 100644
--- a/gc.c
+++ b/gc.c
@@ -385,6 +385,7 @@ gc_mark(ptr)
case NODE_IF: /* 1,2,3 */
case NODE_FOR:
case NODE_ITER:
+ case NODE_CREF:
gc_mark(obj->as.node.u2.node);
/* fall through */
case NODE_BLOCK: /* 1,3 */
@@ -396,7 +397,6 @@ gc_mark(ptr)
case NODE_DREGX_ONCE:
case NODE_FBODY:
case NODE_CALL:
- case NODE_CREF:
#ifdef C_ALLOCA
case NODE_ALLOCA:
#endif