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

llvm-svn: 29971
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp
index d771f4dc..56bbfe9 100644
--- a/llvm/lib/Support/Statistic.cpp
+++ b/llvm/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.
 //