diff options
author | Benoit Daloze <[email protected]> | 2020-08-31 21:24:36 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2020-09-15 21:32:35 +0200 |
commit | 9b535f3ff7c2f48e34dd44564df7adc723b81276 (patch) | |
tree | ea88978c58cd1cc371e6c51a163edb8e3c64e8c1 /vm_insnhelper.c | |
parent | fbba6bd4e3dff7a61965208fecae908f10c4edbe (diff) |
Interpolated strings are no longer frozen with frozen-string-literal: true
* Remove freezestring instruction since this was the only usage for it.
* [Feature #17104]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3488
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 428331a902..6f725a2f02 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -3816,15 +3816,6 @@ vm_get_special_object(const VALUE *const reg_ep, } } -static void -vm_freezestring(VALUE str, VALUE debug) -{ - if (!NIL_P(debug)) { - rb_ivar_set(str, id_debug_created_info, debug); - } - rb_str_freeze(str); -} - static VALUE vm_concat_array(VALUE ary1, VALUE ary2st) { |