Change bools to 1-bit bitfields to shrink ArgListEntry slightly.
authorDan Gohman <gohman@apple.com>
Mon, 30 Jun 2008 20:33:57 +0000 (20:33 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 30 Jun 2008 20:33:57 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52918 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index 8822a1736ad118231bfc6fb240ea51e60072f022..afa8174e5f707d0b982a60de61ecb002a4872231 100644 (file)
@@ -975,12 +975,12 @@ public:
   struct ArgListEntry {
     SDOperand Node;
     const Type* Ty;
-    bool isSExt;
-    bool isZExt;
-    bool isInReg;
-    bool isSRet;
-    bool isNest;
-    bool isByVal;
+    bool isSExt  : 1;
+    bool isZExt  : 1;
+    bool isInReg : 1;
+    bool isSRet  : 1;
+    bool isNest  : 1;
+    bool isByVal : 1;
     uint16_t Alignment;
 
     ArgListEntry() : isSExt(false), isZExt(false), isInReg(false),