[WinEH] Find root frame correctly in CLR funclets
[oota-llvm.git] / include / llvm / CodeGen / MachineValueType.h
index a728df3546778a8e1461df2e82a4e7a13e2486a3..6b478499d92aaba8be002c85e4c630e7e6bda695 100644 (file)
@@ -87,7 +87,7 @@ class MVT {
       v8i64          =  40,   //  8 x i64
       v16i64         =  41,   // 16 x i64
       v1i128         =  42,   //  1 x i128
-      
+
       FIRST_INTEGER_VECTOR_VALUETYPE = v2i1,
       LAST_INTEGER_VECTOR_VALUETYPE = v1i128,
 
@@ -128,6 +128,9 @@ class MVT {
       // This value must be a multiple of 32.
       MAX_ALLOWED_VALUETYPE = 64,
 
+      // Token - A value of type llvm::TokenTy
+      token          = 249,
+
       // Metadata - This is MDNode or MDString.
       Metadata       = 250,
 
@@ -390,6 +393,9 @@ class MVT {
       case vAny:
       case Any:
         llvm_unreachable("Value type is overloaded.");
+      case token:
+        llvm_unreachable("Token type is a sentinel that cannot be used "
+                         "in codegen and has no size");
       case Metadata:
         llvm_unreachable("Value type is metadata.");
       case i1  :  return 1;