Remove obsolete function TargetRegistry::getClosestTargetForJIT()
[oota-llvm.git] / include / llvm / Support / TargetRegistry.h
index 291fb1b95db3329250b390d2ab0c7fccf9c29bf6..5d5b86a6a2aeb634ed09881db9d19e1d96d910de 100644 (file)
@@ -565,13 +565,6 @@ namespace llvm {
                                       Triple &TheTriple,
                                       std::string &Error);
 
-    /// getClosestTargetForJIT - Pick the best target that is compatible with
-    /// the current host.  If no close target can be found, this returns null
-    /// and sets the Error string to a reason.
-    ///
-    /// Maintained for compatibility through 2.6.
-    static const Target *getClosestTargetForJIT(std::string &Error);
-
     /// @}
     /// @name Target Registration
     /// @{