From 7c7639816b2e8b8ae1be7ff4f86241cb0bf4419a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 30 Jun 2008 20:33:57 +0000 Subject: [PATCH] Change bools to 1-bit bitfields to shrink ArgListEntry slightly. llvm-svn: 52918 --- include/llvm/Target/TargetLowering.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 8822a1736ad..afa8174e5f7 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -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),