diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 10:09:50 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 10:09:50 +0000 |
| commit | d6fd377f3333922c4e928019cdfa124ff7f4dd2e (patch) | |
| tree | da15e380d88d8a3072e1d8cf434f424880b0a2ce /lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp | |
| parent | e0d12d5f7b0a6369df128c8b0cc43e6e08a804a0 (diff) | |
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
Diffstat (limited to 'lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp')
| -rw-r--r-- | lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp b/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp index e50d607dcc..07de7266f4 100644 --- a/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp +++ b/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp @@ -14,10 +14,6 @@ using namespace llvm; Target llvm::TheMSILTarget; -static unsigned MSIL_JITMatchQuality() { - return 0; -} - static unsigned MSIL_TripleMatchQuality(const std::string &TT) { // This class always works, but shouldn't be the default in most cases. return 1; @@ -32,6 +28,5 @@ extern "C" void LLVMInitializeMSILTargetInfo() { TargetRegistry::RegisterTarget(TheMSILTarget, "msil", "MSIL backend", &MSIL_TripleMatchQuality, - &MSIL_ModuleMatchQuality, - &MSIL_JITMatchQuality); + &MSIL_ModuleMatchQuality); } |
