Changes in directory llvm/include/llvm/ADT:
Statistic.h updated: 1.16 -> 1.17 --- Log message: Instantiate Statistic<> in one place, not in every .o file that uses it. --- Diffs of the changes: (+4 -1) Statistic.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/include/llvm/ADT/Statistic.h diff -u llvm/include/llvm/ADT/Statistic.h:1.16 llvm/include/llvm/ADT/Statistic.h:1.17 --- llvm/include/llvm/ADT/Statistic.h:1.16 Wed Jun 21 11:53:47 2006 +++ llvm/include/llvm/ADT/Statistic.h Tue Aug 29 23:17:00 2006 @@ -24,7 +24,8 @@ #ifndef LLVM_ADT_STATISTIC_H #define LLVM_ADT_STATISTIC_H -#include <iosfwd> +#include <ostream> +#include "llvm/Support/Compiler.h" namespace llvm { @@ -85,6 +86,8 @@ const Statistic &operator/=(const DataType &V) { Value /= V; return *this; } }; +EXTERN_TEMPLATE_INSTANTIATION(class Statistic<unsigned>); + } // End llvm namespace #endif _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits