mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user