use escape string.
[oota-llvm.git] / utils / TableGen / CodeGenDAGPatterns.h
index 0bd316511e63bbdd0a24595c4774c550ae760975..f1b0d37605b8185e5e994c8b04abfde21f46f2ce 100644 (file)
@@ -145,7 +145,8 @@ public:
 /// TreePatternNode objects!
 class TreePatternNode {
   /// The inferred type for this node, or EMVT::isUnknown if it hasn't
-  /// been determined yet.
+  /// been determined yet. This is a std::vector because during inference
+  /// there may be multiple possible types.
   std::vector<unsigned char> Types;
   
   /// Operator - The Record for the operator if this is an interior node (not
@@ -365,7 +366,7 @@ public:
   }
   
   /// InferAllTypes - Infer/propagate as many types throughout the expression
-  /// patterns as possible.  Return true if all types are infered, false
+  /// patterns as possible.  Return true if all types are inferred, false
   /// otherwise.  Throw an exception if a type contradiction is found.
   bool InferAllTypes();
   
@@ -528,6 +529,7 @@ public:
     if (IID-Intrinsics.size()-1 < TgtIntrinsics.size())
       return TgtIntrinsics[IID-Intrinsics.size()-1];
     assert(0 && "Bad intrinsic ID!");
+    abort();
   }
   
   unsigned getIntrinsicID(Record *R) const {