diff options
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |