[llvm-commits] CVS: llvm/include/llvm/Type.h

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 12 02:08:04 PST 2005



Changes in directory llvm/include/llvm:

Type.h updated: 1.78 -> 1.79
---
Log message:

Shrink the Type class from 32 to 28 bytes on Darwin (which has silly 32-bit
bools).


---
Diffs of the changes:  (+1 -1)

 Type.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.78 llvm/include/llvm/Type.h:1.79
--- llvm/include/llvm/Type.h:1.78	Sat Nov 12 02:42:30 2005
+++ llvm/include/llvm/Type.h	Sat Nov 12 04:07:47 2005
@@ -83,7 +83,7 @@
 
 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






More information about the llvm-commits mailing list