summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-11 12:27:34 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-11 12:27:34 +0000
commitac28b985bdc2f85eada8070d40f6de9f11dab7f8 (patch)
tree7032a0f9ca75346ea1316ff2d8254c2606de93da /node.c
parent734146a459564e8b6aa221d8a5d4d55c8610d557 (diff)
* vm_insnhelper.c: use T_IMEMO to create SVAR.
* internal.h, vm_insnhelper.h: move definition `struct SVAR' from vm_insnhelper.h to internal.h. And rename it to strcut vm_svar. new imemo_type imemo_svar is added. * gc.c (gc_mark_children): mark imemo_svar. * node.c (rb_gc_mark_node): remove useless marking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r--node.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/node.c b/node.c
index bd20f2d..79f65ec 100644
--- a/node.c
+++ b/node.c
@@ -947,7 +947,6 @@ rb_gc_mark_node(NODE *obj)
{
switch (nd_type(obj)) {
case NODE_IF: /* 1,2,3 */
- rb_gc_mark(CREF_REFINEMENTS((rb_cref_t *)obj)); /* use as SVAR */
case NODE_FOR:
case NODE_ITER:
case NODE_WHEN: