summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-24 14:47:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-24 14:47:43 +0000
commit830573a7f784947e791720c8497319c15e34592a (patch)
treeb14cef9f656678891a70435da334dd9aa4adbab5 /gc.c
parent8ec17dab6a3e8cbf744cf94d02a28fc8aad82633 (diff)
downloadruby-830573a7f784947e791720c8497319c15e34592a.tar.gz
* gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 6c83bd43b5..d7e431a704 100644
--- a/gc.c
+++ b/gc.c
@@ -866,6 +866,10 @@ gc_mark_children(VALUE ptr, int lev)
ptr = (VALUE)obj->as.node.u1.node;
goto again;
+ case NODE_POSTEXE: /* 2 */
+ ptr = (VALUE)obj->as.node.u2.node;
+ goto again;
+
case NODE_SCOPE: /* 2,3 */
case NODE_CDECL:
gc_mark((VALUE)obj->as.node.u3.node, lev);
@@ -892,7 +896,6 @@ gc_mark_children(VALUE ptr, int lev)
case NODE_ERRINFO:
case NODE_ATTRSET:
case NODE_BLOCK_ARG:
- case NODE_POSTEXE:
break;
case NODE_ALLOCA:
mark_locations_array((VALUE*)obj->as.node.u1.value,