[llvm-commits] [llvm] r68087 - /llvm/trunk/include/llvm/Value.h

Chris Lattner sabre at nondot.org
Tue Mar 31 00:25:23 PDT 2009


Author: lattner
Date: Tue Mar 31 02:25:22 2009
New Revision: 68087

URL: http://llvm.org/viewvc/llvm-project?rev=68087&view=rev
Log:
shrink subclassid, liberating some bits for future (ab)use.

Modified:
    llvm/trunk/include/llvm/Value.h

Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=68087&r1=68086&r2=68087&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Tue Mar 31 02:25:22 2009
@@ -53,7 +53,7 @@
 /// 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.





More information about the llvm-commits mailing list