mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
More concise csel with Into
This commit is contained in:
parent
2429635bc7
commit
8fffff536d
1 changed files with 1 additions and 1 deletions
|
@ -2448,7 +2448,7 @@ fn gen_equality_specialized(
|
|||
|
||||
asm.cmp(a_opnd, b_opnd);
|
||||
|
||||
let val = asm.csel_ne(Opnd::Imm(Qfalse.into()), Opnd::Imm(Qtrue.into()));
|
||||
let val = asm.csel_ne(Qfalse.into(), Qtrue.into());
|
||||
|
||||
// Push the output on the stack
|
||||
ctx.stack_pop(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue