X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FADT%2FStatistic.h;h=537f86637953bf76251761912b6cd66b83273e97;hb=b141e397d52d9946e93f84c65c6b2e653b026041;hp=6cdcf9f382e72d61ca35e0ec41cc50ea657d6a3a;hpb=8e1cddc11dd8be5855a43e31d8db20b00c54ee03;p=oota-llvm.git diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h index 6cdcf9f382e..537f8663795 100644 --- a/include/llvm/ADT/Statistic.h +++ b/include/llvm/ADT/Statistic.h @@ -56,7 +56,7 @@ public: const Statistic &operator-=(const unsigned &V) { Value -= V; return init(); } const Statistic &operator*=(const unsigned &V) { Value *= V; return init(); } const Statistic &operator/=(const unsigned &V) { Value /= V; return init(); } - + protected: Statistic &init() { if (!Initialized) RegisterStatistic(); @@ -64,7 +64,7 @@ protected: } void RegisterStatistic(); }; - + // STATISTIC - A macro to make definition of statistics really simple. This // automatically passes the DEBUG_TYPE of the file into the statistic. #define STATISTIC(VARNAME, DESC) \