mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
YJIT: fix a #[warn(unused_parens)]
This commit is contained in:
parent
0aaa6133ed
commit
9da0d4ca9d
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ impl X86Opnd {
|
|||
X86Opnd::Imm(_) => false,
|
||||
X86Opnd::UImm(_) => false,
|
||||
X86Opnd::Reg(reg) => reg.reg_no > 7 || reg.num_bits == 8 && reg.reg_no >= 4,
|
||||
X86Opnd::Mem(mem) => (mem.base_reg_no > 7 || (mem.idx_reg_no.unwrap_or(0) > 7)),
|
||||
X86Opnd::Mem(mem) => mem.base_reg_no > 7 || (mem.idx_reg_no.unwrap_or(0) > 7),
|
||||
X86Opnd::IPRel(_) => false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue