[llvm-commits] [llvm] r104058 - /llvm/trunk/include/llvm/CodeGen/ValueTypes.h

mike-m mikem.llvm at gmail.com
Tue May 18 14:22:12 PDT 2010


Author: mikem
Date: Tue May 18 16:22:12 2010
New Revision: 104058

URL: http://llvm.org/viewvc/llvm-project?rev=104058&view=rev
Log:
Fix enum to address array bounds regression.

Modified:
    llvm/trunk/include/llvm/CodeGen/ValueTypes.h

Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ValueTypes.h?rev=104058&r1=104057&r2=104058&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ValueTypes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ValueTypes.h Tue May 18 16:22:12 2010
@@ -78,7 +78,7 @@
 
       isVoid         =  34,   // This has no value
 
-      LAST_VALUETYPE =  34,   // This always remains at the end of the list.
+      LAST_VALUETYPE =  35,   // This always remains at the end of the list.
 
       // This is the current maximum for LAST_VALUETYPE.
       // EVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors





More information about the llvm-commits mailing list