Updates to work with recent Statistic's changes:
[oota-llvm.git] / lib / Transforms / IPO / ConstantMerge.cpp
index 28c6519478f5a0f23726cbb8f45641c5dba0d03d..02a9100a2e7f0a53a7aae205d8689edf78702161 100644 (file)
@@ -14,7 +14,7 @@
 #include "llvm/Module.h"
 #include "llvm/Constants.h"
 #include "llvm/Pass.h"
-#include "Support/StatisticReporter.h"
+#include "Support/Statistic.h"
 
 namespace {
   struct ConstantMerge : public Pass {
@@ -28,7 +28,7 @@ namespace {
     void replaceConstantWith(Constant *Old, Constant *New);
   };
 
-  Statistic<> NumMerged("constmerge\t\t- Number of global constants merged");
+  Statistic<> NumMerged("constmerge", "Number of global constants merged");
   RegisterOpt<ConstantMerge> X("constmerge","Merge Duplicate Global Constants");
 }