aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2011-04-08 21:59:49 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2011-04-08 21:59:49 +0000
commit7c90e4662205c14da6a340501316b3059f7fd871 (patch)
tree2c8bb0685d7f3df69b9cf845e4e9da7c039ef2bf /lib
parentfb6e8d65547b744b1804b74b263f163e9879b901 (diff)
downloadexternal_llvm-7c90e4662205c14da6a340501316b3059f7fd871.zip
external_llvm-7c90e4662205c14da6a340501316b3059f7fd871.tar.gz
external_llvm-7c90e4662205c14da6a340501316b3059f7fd871.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
index 616b76a..06a7773 100644
--- a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
+++ b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
@@ -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;
}