Updates to work with recent Statistic's changes:
[oota-llvm.git] / lib / Transforms / Scalar / SimplifyCFG.cpp
index 5f04e2fe8f92998408d2da10b1da4a346dc67f85..3e19aed94998b4ffc2b2b7986523e1a115be8dd7 100644 (file)
 #include "llvm/Module.h"
 #include "llvm/Support/CFG.h"
 #include "llvm/Pass.h"
-#include "Support/StatisticReporter.h"
+#include "Support/Statistic.h"
 #include <set>
 
-static Statistic<> NumSimpl("cfgsimplify\t- Number of blocks simplified");
-
 namespace {
+  Statistic<> NumSimpl("cfgsimplify", "Number of blocks simplified");
+
   struct CFGSimplifyPass : public FunctionPass {
     virtual bool runOnFunction(Function &F);
   };