Fix the comment for getClosestTargetForJIT to reflect the fact that
it does not have a Module parameter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40590 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm/Target/TargetMachineRegistry.h b/include/llvm/Target/TargetMachineRegistry.h
index dd3ed7d..4c009e1 100644
--- a/include/llvm/Target/TargetMachineRegistry.h
+++ b/include/llvm/Target/TargetMachineRegistry.h
@@ -36,10 +36,9 @@
     static const Entry *getClosestStaticTargetForModule(const Module &M,
                                                         std::string &Error);
 
-    /// getClosestTargetForJIT - Given an LLVM module, pick the best target that
-    /// is compatible with the current host and the specified module.  If no
-    /// close target can be found, this returns null and sets the Error string
-    /// to a reason.
+    /// 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.
     static const Entry *getClosestTargetForJIT(std::string &Error);
 
 
diff --git a/lib/Target/TargetMachineRegistry.cpp b/lib/Target/TargetMachineRegistry.cpp
index 2ab8f51..5be9eb1 100644
--- a/lib/Target/TargetMachineRegistry.cpp
+++ b/lib/Target/TargetMachineRegistry.cpp
@@ -75,10 +75,9 @@
   return UsableTargets.back().second;
 }
 
-/// getClosestTargetForJIT - Given an LLVM module, pick the best target that
-/// is compatible with the current host and the specified module.  If no
-/// close target can be found, this returns null and sets the Error string
-/// to a reason.
+/// 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.
 const TargetMachineRegistry::Entry *
 TargetMachineRegistry::getClosestTargetForJIT(std::string &Error) {
   std::vector<std::pair<unsigned, const Entry *> > UsableTargets;