aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-08-31 21:24:36 +0200
committerBenoit Daloze <eregontp@gmail.com>2020-09-15 21:32:35 +0200
commit9b535f3ff7c2f48e34dd44564df7adc723b81276 (patch)
treeea88978c58cd1cc371e6c51a163edb8e3c64e8c1 /insns.def
parentfbba6bd4e3dff7a61965208fecae908f10c4edbe (diff)
downloadruby-9b535f3ff7c2f48e34dd44564df7adc723b81276.tar.gz
Interpolated strings are no longer frozen with frozen-string-literal: true
* Remove freezestring instruction since this was the only usage for it. * [Feature #17104]
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def10
1 files changed, 0 insertions, 10 deletions
diff --git a/insns.def b/insns.def
index 2151ae2484..f6f802f916 100644
--- a/insns.def
+++ b/insns.def
@@ -390,16 +390,6 @@ tostring
val = rb_obj_as_string_result(str, val);
}
-/* Freeze (dynamically) created strings. if debug_info is given, set it. */
-DEFINE_INSN
-freezestring
-(VALUE debug_info)
-(VALUE str)
-(VALUE str)
-{
- vm_freezestring(str, debug_info);
-}
-
/* compile str to Regexp and push it.
opt is the option for the Regexp.
*/