aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/Collectors.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/CodeGen/Collectors.cpp b/lib/CodeGen/Collectors.cpp
new file mode 100644
index 0000000..feeebd5
--- /dev/null
+++ b/lib/CodeGen/Collectors.cpp
@@ -0,0 +1,21 @@
+//===-- Collectors.cpp - Garbage collector registry -----------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Gordon Henriksen and 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/Collectors.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;