summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-14 07:23:01 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-14 07:23:01 (GMT)
commit5617e317713b55d544fb493d9346d2330c60c727 (patch)
tree7e3500fc55cc8e970e7ab840f2c3ef199a1a0d16 /marshal.c
parent18828191d4e88242d791ec65dee5b1912332de7a (diff)
symbol.c: rename rb_str_dynamic_intern
* iseq.c, marshal.c, string.c: use rb_str_intern instead of rb_str_dynamic_intern. * symbol.c (rb_str_intern): rename rb_str_dynamic_intern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/marshal.c b/marshal.c
index acd962e..14069fb 100644
--- a/marshal.c
+++ b/marshal.c
@@ -452,7 +452,7 @@ static void
w_unique(VALUE s, struct dump_arg *arg)
{
must_not_be_anonymous("class", s);
- w_symbol(rb_str_dynamic_intern(s), arg);
+ w_symbol(rb_str_intern(s), arg);
}
static void w_object(VALUE,struct dump_arg*,int);
@@ -1327,7 +1327,7 @@ r_symreal(struct load_arg *arg, int ivar)
}
}
if (idx > 0) rb_enc_associate_index(s, idx);
- sym = rb_str_dynamic_intern(s);
+ sym = rb_str_intern(s);
st_insert(arg->symbols, (st_data_t)n, (st_data_t)sym);
return sym;