diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2022-08-05 14:41:55 -0400 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-08-29 08:47:08 -0700 |
commit | 8fffff536db7d603c6caef80d11c0926d59b1001 (patch) | |
tree | 581ee77ed6f101b7863adc09b7ba4c0f0bfcbb3b /yjit | |
parent | 2429635bc724c953bd653a9202c5e1768f61d254 (diff) |
More concise csel with Into
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 76874cf758..78120a5995 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -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); |