diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-30 04:17:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-30 04:17:00 +0000 |
commit | 52c917190a8094b4e5f6cc0b30e373638268f3a4 (patch) | |
tree | b273d1e242fb944ae1c47b328072366a412f73e4 /lib/Support | |
parent | 3947a76e21c7ec7342cb5744c89a993f68a241b6 (diff) | |
download | external_llvm-52c917190a8094b4e5f6cc0b30e373638268f3a4.zip external_llvm-52c917190a8094b4e5f6cc0b30e373638268f3a4.tar.gz external_llvm-52c917190a8094b4e5f6cc0b30e373638268f3a4.tar.bz2 |
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
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Statistic.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ namespace llvm { extern std::ostream *GetLibSupportInfoOutputFile(); } unsigned StatisticBase::NumStats = 0; +TEMPLATE_INSTANTIATION(class Statistic<unsigned>); + // -stats - Command line option to cause transformations to emit stats about // what they did. // |