From 5d988300b2bf55d7617cf26df5762eae5e32eac8 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Sep 2017 05:16:37 +0000 Subject: intern instruction * insns.def (intern): new instruction to turn string into symbol. opt_call_c_function can not dump. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index d11529ed75..1678100eab 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2794,13 +2794,6 @@ FUNC_FASTCALL(rb_vm_opt_struct_aset)(rb_thread_t *th, rb_control_frame_t *reg_cf return reg_cfp; } -rb_control_frame_t * -FUNC_FASTCALL(rb_vm_str_intern)(rb_thread_t *th, rb_control_frame_t *reg_cfp) -{ - TOPN(0) = rb_str_intern(TOPN(0)); - return reg_cfp; -} - /* defined insn */ static enum defined_type -- cgit v1.2.3