Fix an apparent typo that made GCC complain
authorMatt Beaumont-Gay <matthewbg@google.com>
Fri, 8 Apr 2011 21:59:49 +0000 (21:59 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Fri, 8 Apr 2011 21:59:49 +0000 (21:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129160 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp

index 616b76a67a3c8332ca6dcdd933d8c5f7f208571d..06a77736caa492387bd0a352c8f01e86b9de9d6f 100644 (file)
@@ -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;
     }