From ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 6 Dec 2006 17:46:33 +0000 Subject: Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/ConstantProp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Transforms/Scalar/ConstantProp.cpp') diff --git a/lib/Transforms/Scalar/ConstantProp.cpp b/lib/Transforms/Scalar/ConstantProp.cpp index 8f3baf913c..54ccccce7c 100644 --- a/lib/Transforms/Scalar/ConstantProp.cpp +++ b/lib/Transforms/Scalar/ConstantProp.cpp @@ -29,7 +29,7 @@ using namespace llvm; namespace { - Statistic<> NumInstKilled("constprop", "Number of instructions killed"); + Statistic NumInstKilled("constprop", "Number of instructions killed"); struct ConstantPropagation : public FunctionPass { bool runOnFunction(Function &F); -- cgit v1.2.3