From 123157a91a9c00c42cc7a91b03b4ed2db0b6d197 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 25 Jul 2009 10:09:50 +0000 Subject: 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 --- lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/Target/MSP430') diff --git a/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp b/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp index 8b3e1f4..eb3b865 100644 --- a/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp +++ b/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp @@ -14,10 +14,6 @@ using namespace llvm; Target llvm::TheMSP430Target; -static unsigned MSP430_JITMatchQuality() { - return 0; -} - static unsigned MSP430_TripleMatchQuality(const std::string &TT) { // We strongly match msp430 if (TT.size() >= 6 && TT[0] == 'm' && TT[1] == 's' && TT[2] == 'p' && @@ -42,6 +38,5 @@ extern "C" void LLVMInitializeMSP430TargetInfo() { TargetRegistry::RegisterTarget(TheMSP430Target, "msp430", "MSP430 [experimental]", &MSP430_TripleMatchQuality, - &MSP430_ModuleMatchQuality, - &MSP430_JITMatchQuality); + &MSP430_ModuleMatchQuality); } -- cgit v1.1