diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-10 20:08:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 23:08:29 -0400 |
commit | 654b64822395ead530ac3ecae318197be85c8b52 (patch) | |
tree | b579540aeb587b889fb202024a91c56f6e6815d3 /vm_insnhelper.c | |
parent | b7453b91dc1e5adc9d5ebe15c644cf5e0a54e3ac (diff) |
YJIT: Implement checkmatch instruction (#8203)
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 6 |
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) { |