]> granicus.if.org Git - clang/commitdiff
CGValue: Increase width of allowed alignment. We could switch to log2, but we
authorDaniel Dunbar <daniel@zuster.org>
Thu, 26 Aug 2010 06:02:12 +0000 (06:02 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 26 Aug 2010 06:02:12 +0000 (06:02 +0000)
don't currently need the bits anyway.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112173 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGValue.h

index 4d19a3c865deba6406499d84eccfd71e9f61e9e3..f57ecd245f097fbf25ab50d1cfc9ba89074a0ae7 100644 (file)
@@ -138,7 +138,7 @@ class LValue {
   Qualifiers Quals;
 
   /// The alignment to use when accessing this lvalue.
-  unsigned char Alignment;
+  unsigned short Alignment;
 
   // objective-c's ivar
   bool Ivar:1;