Wrap MVT::ValueType in a struct to get type safety
[oota-llvm.git] / lib / CodeGen / PseudoSourceValue.cpp
index 5c5b1d6df90e90e148f38eeda0a8a8e28a521986..c62e49a4b0823cdf51051b9c6d75eb4fd78f5abb 100644 (file)
@@ -29,7 +29,7 @@ namespace llvm {
   const PseudoSourceValue *PseudoSourceValue::getJumpTable()
   { return &(*PSVs)[4]; }
 
-  static const char *PSVNames[] = {
+  static const char *const PSVNames[] = {
     "FixedStack",
     "Stack",
     "GOT",