summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gc.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b06651082..b2ac0520ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Sep 24 21:19:24 2006 Guy Decoux <ts@moulon.inra.fr>
+
+ * gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.
+
Sun Sep 24 22:28:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* runruby.rb: extension library scripts moved into common directory.
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,