Instantiate Statistic<> in one place, not in every .o file that uses it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29971 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp
index d771f4d..56bbfe9 100644
--- a/lib/Support/Statistic.cpp
+++ b/lib/Support/Statistic.cpp
@@ -33,6 +33,8 @@
 
 unsigned StatisticBase::NumStats = 0;
 
+TEMPLATE_INSTANTIATION(class Statistic<unsigned>);
+
 // -stats - Command line option to cause transformations to emit stats about
 // what they did.
 //