Fix PR2590 by making PatternSortingPredicate actually be
[oota-llvm.git] / utils / TableGen / Record.h
index 45f3072ff0d21c4d0609f7026c6559a2d2ace6d6..90096e98e206003f8fd3314cab627b03a834c574 100644 (file)
@@ -1225,6 +1225,10 @@ public:
     ID(LastID++), Name(N), Loc(loc) {}
   ~Record() {}
 
+  
+  static unsigned getNewUID() { return LastID++; }
+    
+    
   unsigned getID() const { return ID; }
 
   const std::string &getName() const { return Name; }