aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-10 20:08:29 -0700
committerGitHub <noreply@github.com>2023-08-10 23:08:29 -0400
commit654b64822395ead530ac3ecae318197be85c8b52 (patch)
treeb579540aeb587b889fb202024a91c56f6e6815d3 /vm_insnhelper.c
parentb7453b91dc1e5adc9d5ebe15c644cf5e0a54e3ac (diff)
downloadruby-654b64822395ead530ac3ecae318197be85c8b52.tar.gz
YJIT: Implement checkmatch instruction (#8203)
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 5cbd47d78b..7ee8fd2cbf 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -5233,6 +5233,12 @@ vm_check_match(rb_execution_context_t *ec, VALUE target, VALUE pattern, rb_num_t
}
}
+VALUE
+rb_vm_check_match(rb_execution_context_t *ec, VALUE target, VALUE pattern, rb_num_t flag)
+{
+ return vm_check_match(ec, target, pattern, flag);
+}
+
static VALUE
vm_check_keyword(lindex_t bits, lindex_t idx, const VALUE *ep)
{