From 7a83aecc03bad600b18cb1f4c8e68c6c3d4a464e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 17 Apr 2007 18:15:04 +0000 Subject: [PATCH] bool on darwin/ppc is 4 bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36206 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/GlobalVariable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h index bf638fb21a4..ae3418bb854 100644 --- a/include/llvm/GlobalVariable.h +++ b/include/llvm/GlobalVariable.h @@ -41,8 +41,8 @@ class GlobalVariable : public GlobalValue { void setNext(GlobalVariable *N) { Next = N; } void setPrev(GlobalVariable *N) { Prev = N; } - bool isConstantGlobal; // Is this a global constant? - bool isThreadLocalSymbol; // Is this symbol "Thread Local"? + bool isConstantGlobal : 1; // Is this a global constant? + bool isThreadLocalSymbol : 1; // Is this symbol "Thread Local"? Use Initializer; public: