[llvm-commits] [llvm] r129160 - /llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
Matt Beaumont-Gay
matthewbg at google.com
Fri Apr 8 14:59:49 PDT 2011
Author: matthewbg
Date: Fri Apr 8 16:59:49 2011
New Revision: 129160
URL: http://llvm.org/viewvc/llvm-project?rev=129160&view=rev
Log:
Fix an apparent typo that made GCC complain
Modified:
llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
Modified: llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp?rev=129160&r1=129159&r2=129160&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp Fri Apr 8 16:59:49 2011
@@ -956,7 +956,7 @@
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;
}
More information about the llvm-commits
mailing list