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.
 //



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to