mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
Delete an extra "Imm5 = ", caught by GCC's -Wsequence-point but not by Clang
(see PR4579). llvm-svn: 121939
This commit is contained in:
parent
ae68a4eb6d
commit
9b5939da47
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user