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:
6bcd3a0
)
hopefully fix a problem building on cygwin-1.5
author
Chris Lattner
<sabre@nondot.org>
Tue, 7 Sep 2010 19:50:53 +0000
(19:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 7 Sep 2010 19:50:53 +0000
(19:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113255
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassemblerCore.h
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h
b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h
index 62cd5a016e9ce628d185f68e329f36ed368b6fbf..9c30d332d1f200e13b1a34a8cb2c2967bec825bb 100644
(file)
--- a/
lib/Target/ARM/Disassembler/ARMDisassemblerCore.h
+++ b/
lib/Target/ARM/Disassembler/ARMDisassemblerCore.h
@@
-126,8
+126,8
@@
static inline unsigned slice(uint32_t Bits, unsigned From, unsigned To) {
}
/// Utility function for setting [From, To] bits to Val for a uint32_t.
-static inline void setSlice(u
int32_t
&Bits, unsigned From, unsigned To,
- u
int32_t
Val) {
+static inline void setSlice(u
nsigned
&Bits, unsigned From, unsigned To,
+ u
nsigned
Val) {
assert(From < 32 && To < 32 && From >= To);
uint32_t Mask = ((1 << (From - To + 1)) - 1);
Bits &= ~(Mask << To);