make MachineFunction keep track of its ID and make
[oota-llvm.git] / include / llvm / CodeGen / MachineConstantPool.h
index 59d8e635261e242eb3e2beeaf3d24378138a4ab3..8d6c1d1e4ca2c0f088ef981e8fb051aee0fe57da 100644 (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 {