diff options
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CondPropagate.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/CondPropagate.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/CondPropagate.cpp b/llvm/lib/Transforms/Scalar/CondPropagate.cpp index 4e076145f76..49a849625b3 100644 --- a/llvm/lib/Transforms/Scalar/CondPropagate.cpp +++ b/llvm/lib/Transforms/Scalar/CondPropagate.cpp @@ -25,12 +25,10 @@ #include "llvm/Support/Streams.h" using namespace llvm; -namespace { - Statistic - NumBrThread("condprop", "Number of CFG edges threaded through branches"); - Statistic - NumSwThread("condprop", "Number of CFG edges threaded through switches"); +STATISTIC(NumBrThread, "Number of CFG edges threaded through branches"); +STATISTIC(NumSwThread, "Number of CFG edges threaded through switches"); +namespace { struct CondProp : public FunctionPass { virtual bool runOnFunction(Function &F); |