aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 05:16:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 05:16:37 +0000
commitbf4a28729c5c66ea5a33630ae32face661e9c0ba (patch)
treeb79b1cf16be2af7b70c97f8ada98847cf5863bcc /vm_insnhelper.c
parente994503d851aa18c010dee6a1eb718c14a97276c (diff)
downloadruby-bf4a28729c5c66ea5a33630ae32face661e9c0ba.tar.gz
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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c7
1 files changed, 0 insertions, 7 deletions
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