diff options
Diffstat (limited to 'lib/CodeGen/GCs.cpp')
-rw-r--r-- | lib/CodeGen/GCs.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/CodeGen/GCs.cpp b/lib/CodeGen/GCs.cpp new file mode 100644 index 0000000..1247253 --- /dev/null +++ b/lib/CodeGen/GCs.cpp @@ -0,0 +1,28 @@ +//===-- Collectors.cpp - Garbage collector registry -----------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines the static data members of the CollectorRegistry class. +// +//===----------------------------------------------------------------------===// + +#include "llvm/CodeGen/GCs.h" + +using namespace llvm; + +template<> CollectorRegistry::node *CollectorRegistry::Head = 0; +template<> CollectorRegistry::node *CollectorRegistry::Tail = 0; +template<> CollectorRegistry::listener *CollectorRegistry::ListenerHead = 0; +template<> CollectorRegistry::listener *CollectorRegistry::ListenerTail = 0; + +template<> GCMetadataPrinterRegistry::node *GCMetadataPrinterRegistry::Head = 0; +template<> GCMetadataPrinterRegistry::node *GCMetadataPrinterRegistry::Tail = 0; +template<> GCMetadataPrinterRegistry::listener * +GCMetadataPrinterRegistry::ListenerHead = 0; +template<> GCMetadataPrinterRegistry::listener * +GCMetadataPrinterRegistry::ListenerTail = 0; |