commit | f5bed76353c0c87333577e7dcddcd50f3651de3f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Aug 30 04:17:00 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Aug 30 04:17:00 2006 +0000 |
tree | f0154f0bebe2654b86df36c806899f1f989f61d3 | |
parent | 5f8f9af65c5bfe5817422f6f5ecdbb9eba98e2a4 [diff] [blame] |
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. //