Fix enum to address array bounds regression.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
mike-m 2010-05-18 21:22:12 +00:00
parent 4d01cbe93b
commit eb75870206

View File

@ -78,7 +78,7 @@ namespace llvm {
isVoid = 34, // This has no value 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. // This is the current maximum for LAST_VALUETYPE.
// EVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors // EVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors