diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2010-12-16 01:34:26 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2010-12-16 01:34:26 +0000 |
commit | e9afc740a8f6d747d899c3d2322db9828846aaeb (patch) | |
tree | af0696b707185d263967687af21d56a1a8f6552e /llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp | |
parent | 71f39c96fb9ce245451831916247a0c91d067a78 (diff) | |
download | bcm5719-llvm-e9afc740a8f6d747d899c3d2322db9828846aaeb.tar.gz bcm5719-llvm-e9afc740a8f6d747d899c3d2322db9828846aaeb.zip |
Delete an extra "Imm5 = ", caught by GCC's -Wsequence-point but not by Clang
(see PR4579).
llvm-svn: 121939
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp index 2f210c3ad2d..ed7c59bbca5 100644 --- a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp +++ b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp @@ -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; } |