mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 23:31:32 +00:00
Fix an apparent typo that made GCC complain
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129160 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb6e8d6554
commit
7c90e46622
@ -956,7 +956,7 @@ static bool BadRegsDPFrm(unsigned Opcode, uint32_t insn) {
|
||||
switch (Opcode) {
|
||||
default:
|
||||
// Did we miss an opcode?
|
||||
if (decodeRd(insn) == 15 | decodeRn(insn) == 15 || decodeRm(insn) == 15) {
|
||||
if (decodeRd(insn) == 15 || decodeRn(insn) == 15 || decodeRm(insn) == 15) {
|
||||
DEBUG(errs() << "DPFrm with bad reg specifier(s)\n");
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user