summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-24 14:28:18 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-24 14:28:18 +0000
commit7e5f20c842486e1f3c99efaa6d49ed5559573b46 (patch)
treeb91368648d7a294618efffccd3b588546f35979d
parent6f828a2437d8e5146e44a59108abf8c0f5207ffd (diff)
* gc.c (gc_mark_children): lost comment added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--gc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b3b5b8a98b..ced5023e7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,6 +50,10 @@ Sun Feb 21 06:24:12 2010 Alexander Zavorine <alexandre.zavorine@nokia.com>
* symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined.
* symbian/setup (ruby.mmp): SOURCE node.c added.
+Mon Feb 22 09:15:45 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * gc.c (gc_mark_children): lost comment added.
+
Sat Feb 20 14:42:19 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (r_object0): should prepare placeholder before
diff --git a/gc.c b/gc.c
index 7490d4d8c7..fb2994066a 100644
--- a/gc.c
+++ b/gc.c
@@ -1573,7 +1573,7 @@ gc_mark_children(rb_objspace_t *objspace, VALUE ptr, int lev)
ptr = (VALUE)obj->as.node.u3.node;
goto again;
- case NODE_WHILE:
+ case NODE_WHILE: /* 1,2 */
case NODE_UNTIL:
case NODE_AND:
case NODE_OR:
@@ -1593,7 +1593,7 @@ gc_mark_children(rb_objspace_t *objspace, VALUE ptr, int lev)
case NODE_ARGSCAT:
gc_mark(objspace, (VALUE)obj->as.node.u1.node, lev);
/* fall through */
- case NODE_GASGN:
+ case NODE_GASGN: /* 2 */
case NODE_LASGN:
case NODE_DASGN:
case NODE_DASGN_CURR: