summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2018-09-19 11:46:21 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-02 13:56:40 +0900
commitec80d5c4f322b9ae02babd32a491bd05807a8155 (patch)
treeff55e4506365895f5f574dfc007857776ea94499 /vm_insnhelper.c
parent8ad7fafcddece2096b748178df9a3318cb1ba3ae (diff)
delete unused function
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/1959
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 81493a4fa5..6a198f94e4 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -4355,17 +4355,6 @@ vm_opt_not(CALL_INFO ci, CALL_CACHE cc, VALUE recv)
}
static VALUE
-vm_opt_regexpmatch1(VALUE recv, VALUE obj)
-{
- if (BASIC_OP_UNREDEFINED_P(BOP_MATCH, REGEXP_REDEFINED_OP_FLAG)) {
- return rb_reg_match(recv, obj);
- }
- else {
- return rb_funcall(recv, idEqTilde, 1, obj);
- }
-}
-
-static VALUE
vm_opt_regexpmatch2(VALUE recv, VALUE obj)
{
if (CLASS_OF(recv) == rb_cString &&