Simplify JIT target selection.
 - Instead of requiring targets to define a JIT quality match function, we just
   have them specify if they support a JIT.

 - Target selection for the JIT just gets the host triple and looks for the best
   target which matches the triple and has a JIT.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77060 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CBackend/TargetInfo/CBackendTargetInfo.cpp b/lib/Target/CBackend/TargetInfo/CBackendTargetInfo.cpp
index b86f4b2..588833b 100644
--- a/lib/Target/CBackend/TargetInfo/CBackendTargetInfo.cpp
+++ b/lib/Target/CBackend/TargetInfo/CBackendTargetInfo.cpp
@@ -14,10 +14,6 @@
 
 Target llvm::TheCBackendTarget;
 
-static unsigned CBackend_JITMatchQuality() {
-  return 0;
-}
-
 static unsigned CBackend_TripleMatchQuality(const std::string &TT) {
   // This class always works, but must be requested explicitly on 
   // llc command line.
@@ -34,6 +30,5 @@
   TargetRegistry::RegisterTarget(TheCBackendTarget, "c",
                                   "C backend",
                                   &CBackend_TripleMatchQuality,
-                                  &CBackend_ModuleMatchQuality,
-                                  &CBackend_JITMatchQuality);
+                                  &CBackend_ModuleMatchQuality);
 }