Kill Target specific ModuleMatchQuality stuff.

- This was overkill and inconsistently implemented.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-07-26 02:22:58 +00:00
parent a5881e3060
commit fa27ff296d
16 changed files with 13 additions and 286 deletions

View File

@@ -19,14 +19,8 @@ static unsigned CppBackend_TripleMatchQuality(const std::string &TT) {
return 1;
}
static unsigned CppBackend_ModuleMatchQuality(const Module &M) {
// This class always works, but shouldn't be the default in most cases.
return 1;
}
extern "C" void LLVMInitializeCppBackendTargetInfo() {
TargetRegistry::RegisterTarget(TheCppBackendTarget, "cpp",
"C++ backend",
&CppBackend_TripleMatchQuality,
&CppBackend_ModuleMatchQuality);
&CppBackend_TripleMatchQuality);
}