summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-13 09:10:55 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-13 09:10:55 +0000
commit8a3d25a790e0aecd9e7e2478e3a27362e47a920b (patch)
tree8820bbe1bb80a8ce542b3e6105fcd7c306d38502 /gc.c
parentfdbf3a76a18d6282953a2a7d3a6af222f6fa1be2 (diff)
* eval.c (rb_call0): argument update propagation. [ruby-dev:28044]
* env.h: remove argc member from struct FRAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index bbbb7a4..e5ab352 100644
--- a/gc.c
+++ b/gc.c
@@ -816,6 +816,7 @@ gc_mark_children(ptr, lev)
case NODE_MODULE:
case NODE_ALIAS:
case NODE_VALIAS:
+ case NODE_ARGS:
gc_mark((VALUE)obj->as.node.u1.node, lev);
/* fall through */
case NODE_METHOD: /* 2 */
@@ -845,7 +846,6 @@ gc_mark_children(ptr, lev)
case NODE_NEXT:
case NODE_YIELD:
case NODE_COLON2:
- case NODE_ARGS:
case NODE_SPLAT:
case NODE_TO_ARY:
case NODE_SVALUE:
@@ -1265,7 +1265,6 @@ void
rb_gc_mark_frame(frame)
struct FRAME *frame;
{
- mark_locations_array(frame->argv, frame->argc);
gc_mark((VALUE)frame->node, 0);
}