X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FTargetMachineRegistry.cpp;h=c1a4777c63140304bbc2b412e877d967697e5b2f;hb=d24479730a8790d82c4859dc477bc2416d7a6bda;hp=62c76bbc5bf14ed2c93e71a7b1ccf1b2880adad1;hpb=4ee451de366474b9c228b4e5fa573795a715216d;p=oota-llvm.git diff --git a/lib/Target/TargetMachineRegistry.cpp b/lib/Target/TargetMachineRegistry.cpp index 62c76bbc5bf..c1a4777c631 100644 --- a/lib/Target/TargetMachineRegistry.cpp +++ b/lib/Target/TargetMachineRegistry.cpp @@ -18,13 +18,6 @@ #include using namespace llvm; -template<> Registry::node *Registry::Head = 0; -template<> Registry::node *Registry::Tail = 0; -template<> Registry::listener *Registry:: -ListenerHead = 0; -template<> Registry::listener *Registry:: -ListenerTail = 0; - /// getClosestStaticTargetForModule - Given an LLVM module, pick the best target /// that is compatible with the module. If no close target can be found, this /// returns null and sets the Error string to a reason. @@ -42,7 +35,7 @@ TargetMachineRegistry::getClosestStaticTargetForModule(const Module &M, } else if (UsableTargets.size() == 1) return UsableTargets.back().second; - // Otherwise, take the best target, but make sure we don't have to equally + // Otherwise, take the best target, but make sure we don't have two equally // good best targets. std::sort(UsableTargets.begin(), UsableTargets.end()); if (UsableTargets.back().first ==UsableTargets[UsableTargets.size()-2].first){