summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-24 14:29:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-24 14:29:57 +0000
commit62084e4e1ffe296f47458cb586b6a44ff6f0bf03 (patch)
tree973380ff6dd7139e5bb956520351893fd52e4292
parent8671cefc2e5bc6a00a82e0e1dd148e6f23aacdf8 (diff)
downloadruby-62084e4e1ffe296f47458cb586b6a44ff6f0bf03.tar.gz
ruby-62084e4e1ffe296f47458cb586b6a44ff6f0bf03.tar.xz
ruby-62084e4e1ffe296f47458cb586b6a44ff6f0bf03.zip
* 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
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 5 insertions, 1 deletions
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 <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 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,