summaryrefslogtreecommitdiff
path: root/yjit_codegen.c
diff options
context:
space:
mode:
authorJohn Hawthorn <[email protected]>2021-06-18 17:32:13 -0700
committerAlan Wu <[email protected]>2021-10-20 18:19:39 -0400
commit3edf29668ee2f8015d560508accbb35c85568823 (patch)
tree929d5942e0aef7d3dce105c6c445d18532482a8f /yjit_codegen.c
parent595fdf8d669da043fd0ca4bed7cb0c593595a80c (diff)
Add opt_regexpmatch2
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r--yjit_codegen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c
index b4733ef1ee..40feda345f 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -2240,6 +2240,12 @@ gen_opt_length(jitstate_t *jit, ctx_t *ctx)
return gen_opt_send_without_block(jit, ctx);
}
+static codegen_status_t
+gen_opt_regexpmatch2(jitstate_t *jit, ctx_t *ctx)
+{
+ return gen_opt_send_without_block(jit, ctx);
+}
+
void
gen_branchif_branch(codeblock_t* cb, uint8_t* target0, uint8_t* target1, uint8_t shape)
{
@@ -3718,6 +3724,7 @@ yjit_init_codegen(void)
yjit_reg_op(BIN(opt_not), gen_opt_not);
yjit_reg_op(BIN(opt_size), gen_opt_size);
yjit_reg_op(BIN(opt_length), gen_opt_length);
+ yjit_reg_op(BIN(opt_regexpmatch2), gen_opt_regexpmatch2);
yjit_reg_op(BIN(opt_getinlinecache), gen_opt_getinlinecache);
yjit_reg_op(BIN(opt_invokebuiltin_delegate), gen_opt_invokebuiltin_delegate);
yjit_reg_op(BIN(opt_invokebuiltin_delegate_leave), gen_opt_invokebuiltin_delegate);