diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-17 19:08:34 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-17 19:08:34 +0000 |
commit | 8715367182244e784b9f5688baf1ed607768e687 (patch) | |
tree | 7fb68b3ef39542a0d78e3183390a3ba429f3e633 /lib/Target/TargetMachineRegistry.cpp | |
parent | a08f5186b0687d1110af5d669a84d59e6413aa68 (diff) |
Don't require Registry specializations to define random static variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachineRegistry.cpp')
-rw-r--r-- | lib/Target/TargetMachineRegistry.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Target/TargetMachineRegistry.cpp b/lib/Target/TargetMachineRegistry.cpp index 72e5401422..c1a4777c63 100644 --- a/lib/Target/TargetMachineRegistry.cpp +++ b/lib/Target/TargetMachineRegistry.cpp @@ -18,13 +18,6 @@ #include <algorithm> using namespace llvm; -template<> Registry<TargetMachine>::node *Registry<TargetMachine>::Head = 0; -template<> Registry<TargetMachine>::node *Registry<TargetMachine>::Tail = 0; -template<> Registry<TargetMachine>::listener *Registry<TargetMachine>:: -ListenerHead = 0; -template<> Registry<TargetMachine>::listener *Registry<TargetMachine>:: -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. |