summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSIL
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 02:22:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 02:22:58 +0000
commitbc981d8efa235138a46667082bc9a284ae024cb7 (patch)
tree762cb23b9b1f15da7b2873f6620e31cd34775bc6 /llvm/lib/Target/MSIL
parent4f7dfaf65015c569752dc7cc00bae1d8b018d3b4 (diff)
downloadbcm5719-llvm-bc981d8efa235138a46667082bc9a284ae024cb7.tar.gz
bcm5719-llvm-bc981d8efa235138a46667082bc9a284ae024cb7.zip
Kill Target specific ModuleMatchQuality stuff.
- This was overkill and inconsistently implemented. llvm-svn: 77114
Diffstat (limited to 'llvm/lib/Target/MSIL')
-rw-r--r--llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp b/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
index 07de7266f41..dfd42814e51 100644
--- a/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
+++ b/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
@@ -19,14 +19,8 @@ static unsigned MSIL_TripleMatchQuality(const std::string &TT) {
return 1;
}
-static unsigned MSIL_ModuleMatchQuality(const Module &M) {
- // This class always works, but shouldn't be the default in most cases.
- return 1;
-}
-
extern "C" void LLVMInitializeMSILTargetInfo() {
TargetRegistry::RegisterTarget(TheMSILTarget, "msil",
"MSIL backend",
- &MSIL_TripleMatchQuality,
- &MSIL_ModuleMatchQuality);
+ &MSIL_TripleMatchQuality);
}
OpenPOWER on IntegriCloud