From 62084e4e1ffe296f47458cb586b6a44ff6f0bf03 Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 24 Sep 2006 14:29:57 +0000 Subject: * gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ gc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 111d01625..6bed5e765 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Sep 24 21:19:24 2006 Guy Decoux + + * gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE. + Sun Sep 24 22:28:20 2006 Nobuyoshi Nakada * runruby.rb: extension library scripts moved into common directory. diff --git a/gc.c b/gc.c index ccfa68b23..eee7455cd 100644 --- a/gc.c +++ b/gc.c @@ -835,6 +835,7 @@ gc_mark_children(ptr, lev) case NODE_OPT_N: case NODE_EVSTR: case NODE_UNDEF: + case NODE_POSTEXE: ptr = (VALUE)obj->as.node.u2.node; goto again; @@ -881,7 +882,6 @@ gc_mark_children(ptr, lev) case NODE_FALSE: case NODE_ATTRSET: case NODE_BLOCK_ARG: - case NODE_POSTEXE: break; case NODE_ALLOCA: mark_locations_array((VALUE*)obj->as.node.u1.value, -- cgit