projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9e08f
)
Delete an extra "Imm5 = ", caught by GCC's -Wsequence-point but not by Clang
author
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 16 Dec 2010 01:34:26 +0000
(
01:34
+0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 16 Dec 2010 01:34:26 +0000
(
01:34
+0000)
(see PR4579).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121939
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMMCCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMMCCodeEmitter.cpp
b/lib/Target/ARM/ARMMCCodeEmitter.cpp
index 2f210c3ad2d75975077b184d1bd6444a27c67d15..ed7c59bbca52a9b2d943afd91e35f672f9228b26 100644
(file)
--- a/
lib/Target/ARM/ARMMCCodeEmitter.cpp
+++ b/
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;
}