ruby-changes:32625
From: nobu <ko1@a...>
Date: Sat, 25 Jan 2014 14:17:24 +0900 (JST)
Subject: [ruby-changes:32625] nobu:r44704 (trunk): compile.c: mark fstring
nobu 2014-01-25 14:17:17 +0900 (Sat, 25 Jan 2014) New Revision: 44704 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44704 Log: compile.c: mark fstring * compile.c (iseq_compile_each): fstring is need marking. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 44703) +++ compile.c (revision 44704) @@ -5329,6 +5329,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ https://github.com/ruby/ruby/blob/trunk/compile.c#L5329 { VALUE str = rb_fstring(node->nd_args->nd_head->nd_lit); node->nd_args->nd_head->nd_lit = str; + iseq_add_mark_object(iseq, str); COMPILE(ret, "recv", node->nd_recv); COMPILE(ret, "value", node->nd_args->nd_next->nd_head); ADD_INSN2(ret, line, opt_aset_with, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/