From 700b873130d0865283319f6e328f1887b19f25f0 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'. llvm-svn: 32279 --- llvm/lib/Transforms/Hello/Hello.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Hello/Hello.cpp') diff --git a/llvm/lib/Transforms/Hello/Hello.cpp b/llvm/lib/Transforms/Hello/Hello.cpp index a91360f962d..8324cbb6cb7 100644 --- a/llvm/lib/Transforms/Hello/Hello.cpp +++ b/llvm/lib/Transforms/Hello/Hello.cpp @@ -21,7 +21,7 @@ using namespace llvm; namespace { - Statistic<> HelloCounter("hellocount", + Statistic HelloCounter("hellocount", "Counts number of functions greeted"); // Hello - The first implementation, without getAnalysisUsage. struct Hello : public FunctionPass { -- cgit v1.2.3