Updates to work with recent Statistic's changes:
[oota-llvm.git] / lib / Transforms / Scalar / ConstantProp.cpp
index 5da909e2020bc68ddaa04894ff7f84fdcf3b1067..1c0d33bee8239bda0b847ddec19c6314f91cc481 100644 (file)
 #include "llvm/Instruction.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/InstIterator.h"
-#include "Support/StatisticReporter.h"
+#include "Support/Statistic.h"
 #include <set>
 
-static Statistic<> NumInstKilled("constprop - Number of instructions killed");
-
 namespace {
+  Statistic<> NumInstKilled("constprop", "Number of instructions killed");
+
   struct ConstantPropogation : public FunctionPass {
     bool runOnFunction(Function &F);