OSDN Git Service

bool on darwin/ppc is 4 bytes.
authorChris Lattner <sabre@nondot.org>
Tue, 17 Apr 2007 18:15:04 +0000 (18:15 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Apr 2007 18:15:04 +0000 (18:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36206 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/GlobalVariable.h

index bf638fb..ae3418b 100644 (file)
@@ -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: