[llvm-commits] CVS: llvm/lib/Support/Statistic.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 29 21:17:15 PDT 2006
Changes in directory llvm/lib/Support:
Statistic.cpp updated: 1.17 -> 1.18
---
Log message:
Instantiate Statistic<> in one place, not in every .o file that uses it.
---
Diffs of the changes: (+2 -0)
Statistic.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Support/Statistic.cpp
diff -u llvm/lib/Support/Statistic.cpp:1.17 llvm/lib/Support/Statistic.cpp:1.18
--- llvm/lib/Support/Statistic.cpp:1.17 Wed Jun 21 11:53:47 2006
+++ llvm/lib/Support/Statistic.cpp Tue Aug 29 23:17:00 2006
@@ -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.
//
More information about the llvm-commits
mailing list