diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-18 08:24:29 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-18 08:24:29 +0000 |
commit | 9d30ef596c3b6830cbb19bf00dd8072f43c3014d (patch) | |
tree | 1eabb557fe49dad38b8c57f1dae2a628f6d3fe69 /compile.c | |
parent | 66cfd1310cdd7bafb1d72afa42ce302b94700dd5 (diff) |
* compile.c (ibf_load_object_string): use fstring if frozen string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7650,7 +7650,7 @@ ibf_load_object_string(const struct ibf_load *load, const struct ibf_object_head rb_enc_associate_index(str, encindex); if (header->internal) rb_obj_hide(str); - if (header->frozen) rb_obj_freeze(str); + if (header->frozen) str = rb_fstring(str); return str; } |