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 | aa8ab4501a7f84f3081e3b7f946c8cdc2353a0f5 (patch) | |
tree | e7acc060266a6c2c098e5986f54dac3bbc0fe960 /llvm/lib/Target/TargetMachineRegistry.cpp | |
parent | 86e7d0a1df44f741214252fde1466b54f49cb64f (diff) | |
download | bcm5719-llvm-aa8ab4501a7f84f3081e3b7f946c8cdc2353a0f5.tar.gz bcm5719-llvm-aa8ab4501a7f84f3081e3b7f946c8cdc2353a0f5.zip |
Don't require Registry specializations to define random static variables.
llvm-svn: 54902
Diffstat (limited to 'llvm/lib/Target/TargetMachineRegistry.cpp')
-rw-r--r-- | llvm/lib/Target/TargetMachineRegistry.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/TargetMachineRegistry.cpp b/llvm/lib/Target/TargetMachineRegistry.cpp index 72e5401422c..c1a4777c631 100644 --- a/llvm/lib/Target/TargetMachineRegistry.cpp +++ b/llvm/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. |