Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86b1baf

Browse files
authored
Deletate to opt_send_without_block for opt_ltlt (#33)
1 parent a54edba commit 86b1baf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

yjit_codegen.c

+8
Original file line numberDiff line numberDiff line change
@@ -1590,6 +1590,13 @@ gen_opt_mod(jitstate_t* jit, ctx_t* ctx)
15901590
return YJIT_KEEP_COMPILING;
15911591
}
15921592

1593+
static codegen_status_t
1594+
gen_opt_ltlt(jitstate_t* jit, ctx_t* ctx)
1595+
{
1596+
// Delegate to send, call the ltlt method
1597+
return gen_opt_send_without_block(jit, ctx);
1598+
}
1599+
15931600
void
15941601
gen_branchif_branch(codeblock_t* cb, uint8_t* target0, uint8_t* target1, uint8_t shape)
15951602
{
@@ -2574,6 +2581,7 @@ yjit_init_codegen(void)
25742581
yjit_reg_op(BIN(opt_minus), gen_opt_minus);
25752582
yjit_reg_op(BIN(opt_plus), gen_opt_plus);
25762583
yjit_reg_op(BIN(opt_mod), gen_opt_mod);
2584+
yjit_reg_op(BIN(opt_ltlt), gen_opt_ltlt);
25772585
yjit_reg_op(BIN(opt_getinlinecache), gen_opt_getinlinecache);
25782586
yjit_reg_op(BIN(branchif), gen_branchif);
25792587
yjit_reg_op(BIN(branchunless), gen_branchunless);

0 commit comments

Comments
 (0)