Mark more constants unsigned, as warned about by icc (#68).

Patch by Erick Tryzelaar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands
2009-09-06 12:56:52 +00:00
parent c2d98bc0d6
commit 18f13c66bf
5 changed files with 8 additions and 8 deletions

View File

@@ -89,7 +89,7 @@ public:
MachineConstantPoolEntry(MachineConstantPoolValue *V, unsigned A)
: Alignment(A) {
Val.MachineCPVal = V;
Alignment |= 1 << (sizeof(unsigned)*CHAR_BIT-1);
Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1);
}
bool isMachineConstantPoolEntry() const {