[llvm-commits] CVS: llvm/lib/Transforms/Hello/Hello.cpp

Chris Lattner sabre at nondot.org
Wed Dec 6 09:47:30 PST 2006



Changes in directory llvm/lib/Transforms/Hello:

Hello.cpp updated: 1.10 -> 1.11
---
Log message:

Detemplatize the Statistic class.  The only type it is instantiated with
is 'unsigned'.



---
Diffs of the changes:  (+1 -1)

 Hello.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Hello/Hello.cpp
diff -u llvm/lib/Transforms/Hello/Hello.cpp:1.10 llvm/lib/Transforms/Hello/Hello.cpp:1.11
--- llvm/lib/Transforms/Hello/Hello.cpp:1.10	Tue Dec  5 19:50:04 2006
+++ llvm/lib/Transforms/Hello/Hello.cpp	Wed Dec  6 11:46:32 2006
@@ -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 {






More information about the llvm-commits mailing list