diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-25 05:17:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-25 05:17:17 +0000 |
commit | 7b8dc95b3a450b8f20049061054df0d1fc637239 (patch) | |
tree | 3a1adf4bbde2e4f700afeb17e03b0cbad13dd206 /compile.c | |
parent | 1f502d96618aad3b32bd94a8b01081adb2289d25 (diff) | |
download | ruby-7b8dc95b3a450b8f20049061054df0d1fc637239.tar.gz |
compile.c: mark fstring
* compile.c (iseq_compile_each): fstring is need marking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5329,6 +5329,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) { 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, |