Delete an extra "Imm5 = ", caught by GCC's -Wsequence-point but not by Clang

(see PR4579).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121939 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Beaumont-Gay 2010-12-16 01:34:26 +00:00
parent cb9e08f328
commit 656b3d22f7

View File

@ -823,7 +823,7 @@ getAddrModeISOpValue(const MCInst &MI, unsigned OpIdx,
const MCOperand &MO = MI.getOperand(OpIdx);
const MCOperand &MO1 = MI.getOperand(OpIdx + 1);
unsigned Rn = getARMRegisterNumbering(MO.getReg());
unsigned Imm5 = Imm5 = MO1.getImm();
unsigned Imm5 = MO1.getImm();
return ((Imm5 & 0x1f) << 3) | Rn;
}