8000 Deletate to opt_send_without_block for opt_ltlt (#33) · github/ruby@ce92847 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce92847

Browse files
maximecbXrXr
authored andcommitted
Deletate to opt_send_without_block for opt_ltlt (#33)
1 parent 0c3842d commit ce92847

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

yjit_codegen.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,13 @@ gen_opt_mod(jitstate_t* jit, ctx_t* ctx)
15921592
return YJIT_KEEP_COMPILING;
15931593
}
15941594

1595+
static codegen_status_t
1596+
gen_opt_ltlt(jitstate_t* jit, ctx_t* ctx)
1597+
{
1598+
// Delegate to send, call the ltlt method
1599+
return gen_opt_send_without_block(jit, ctx);
1600+
}
1601+
15951602
void
15961603
gen_branchif_branch(codeblock_t* cb, uint8_t* target0, uint8_t* target1, uint8_t shape)
15971604
{
@@ -2575,6 +2582,7 @@ yjit_init_codegen(void)
25752582
yjit_reg_op(BIN(opt_minus), gen_opt_minus);
25762583
yjit_reg_op(BIN(opt_plus), gen_opt_plus);
25772584
yjit_reg_op(BIN(opt_mod), gen_opt_mod);
2585+
yjit_reg_op(BIN(opt_ltlt), gen_opt_ltlt);
25782586
yjit_reg_op(BIN(opt_getinlinecache), gen_opt_getinlinecache);
25792587
yjit_reg_op(BIN(branchif), gen_branchif);
25802588
yjit_reg_op(BIN(branchunless), gen_branchunless);

0 commit comments

Comments
 (0)
0