Use the new version of isSubClassOf
[oota-llvm.git] / support / tools / TableGen / TableGenBackend.h
index ae71d2c66bc53150799f6f16ecb65efd401ca8ff..8dfbaddad160c442138d27fd0985f27fedf74e5a 100644 (file)
@@ -14,6 +14,7 @@ class Record;
 class RecordKeeper;
 
 struct TableGenBackend {
+  virtual ~TableGenBackend() {}
 
   // run - All TableGen backends should implement the run method, which should
   // be the main entry point.
@@ -28,9 +29,6 @@ public:   // Useful helper routines...
   /// getQualifiedName - Return the name of the specified record, with a
   /// namespace qualifier if the record contains one.
   std::string getQualifiedName(Record *R) const;
-
-  /// getTarget - Return the current instance of the Target class.
-  Record *getTarget(RecordKeeper &RC) const;
 };
 
 #endif