shrink subclassid, liberating some bits for future (ab)use.
authorChris Lattner <sabre@nondot.org>
Tue, 31 Mar 2009 07:25:22 +0000 (07:25 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 31 Mar 2009 07:25:22 +0000 (07:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68087 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h

index 5f2e35f0c5b4568bd70ff7245e453c0bd0f6854c..3600a5cef31e259688648221d1f50f0d8d546c35 100644 (file)
@@ -53,7 +53,7 @@ class AssemblyAnnotationWriter;
 /// using this Value.
 /// @brief LLVM Value Representation
 class Value {
-  const unsigned short SubclassID;   // Subclass identifier (for isa/dyn_cast)
+  const unsigned char SubclassID;   // Subclass identifier (for isa/dyn_cast)
 protected:
   /// SubclassData - This member is defined by this class, but is not used for
   /// anything.  Subclasses can use it to hold whatever state they find useful.