diff options
| -rw-r--r-- | vm_insnhelper.c | 11 |
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 && |
