Shrink the Type class from 32 to 28 bytes on Darwin (which has silly 32-bit
authorChris Lattner <sabre@nondot.org>
Sat, 12 Nov 2005 10:07:47 +0000 (10:07 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Nov 2005 10:07:47 +0000 (10:07 +0000)
bools).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24326 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Type.h

index dd2fd9b1132d8c2bd14d05c533b5d7340ad29e87..d1ca0130d024c40271281617d1628696f07d744a 100644 (file)
@@ -83,7 +83,7 @@ public:
 
 private:
   TypeID   ID : 8;    // The current base type of this type.
-  bool     Abstract;  // True if type contains an OpaqueType
+  bool     Abstract : 1;  // True if type contains an OpaqueType
 
   /// RefCount - This counts the number of PATypeHolders that are pointing to
   /// this type.  When this number falls to zero, if the type is abstract and