Fix enum to address array bounds regression.
authormike-m <mikem.llvm@gmail.com>
Tue, 18 May 2010 21:22:12 +0000 (21:22 +0000)
committermike-m <mikem.llvm@gmail.com>
Tue, 18 May 2010 21:22:12 +0000 (21:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104058 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ValueTypes.h

index 2d4760d33681bb846ef7b65622b4e68f707d8ae9..6e2a102274a8c770c45a2a591c21263a9cd74fe0 100644 (file)
@@ -78,7 +78,7 @@ namespace llvm {
 
       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