X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FTargetMachineRegistry.cpp;h=c1a4777c63140304bbc2b412e877d967697e5b2f;hb=2cc753170b6aaa26a333c7bd296e9898224c14e2;hp=3b43eb836ba67b03eb7f166c758b52951c45a8c0;hpb=38ffcc93eba3537486fa548ad61787ede6a9d31d;p=oota-llvm.git diff --git a/lib/Target/TargetMachineRegistry.cpp b/lib/Target/TargetMachineRegistry.cpp index 3b43eb836ba..c1a4777c631 100644 --- a/lib/Target/TargetMachineRegistry.cpp +++ b/lib/Target/TargetMachineRegistry.cpp @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -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){