[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp AlphaCodeEmitter.cpp AlphaLLRP.cpp

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



Changes in directory llvm/lib/Target/Alpha:

AlphaAsmPrinter.cpp updated: 1.54 -> 1.55
AlphaCodeEmitter.cpp updated: 1.18 -> 1.19
AlphaLLRP.cpp updated: 1.4 -> 1.5
---
Log message:

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



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

 AlphaAsmPrinter.cpp  |    2 +-
 AlphaCodeEmitter.cpp |    2 +-
 AlphaLLRP.cpp        |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.54 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.55
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.54	Thu Nov  2 14:25:49 2006
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp	Wed Dec  6 11:46:32 2006
@@ -27,7 +27,7 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed");
+  Statistic EmittedInsts("asm-printer", "Number of machine instrs printed");
   
   struct VISIBILITY_HIDDEN AlphaAsmPrinter : public AsmPrinter {
 


Index: llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
diff -u llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.18 llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.19
--- llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.18	Thu Nov  2 14:25:49 2006
+++ llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp	Wed Dec  6 11:46:32 2006
@@ -27,7 +27,7 @@
 using namespace llvm;
 
 namespace {
-  Statistic<>
+  Statistic
   NumEmitted("alpha-emitter", "Number of machine instructions emitted");
 }
 


Index: llvm/lib/Target/Alpha/AlphaLLRP.cpp
diff -u llvm/lib/Target/Alpha/AlphaLLRP.cpp:1.4 llvm/lib/Target/Alpha/AlphaLLRP.cpp:1.5
--- llvm/lib/Target/Alpha/AlphaLLRP.cpp:1.4	Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/Alpha/AlphaLLRP.cpp	Wed Dec  6 11:46:32 2006
@@ -23,8 +23,8 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> nopintro("alpha-nops", "Number of nops inserted");
-  Statistic<> nopalign("alpha-nops-align", 
+  Statistic nopintro("alpha-nops", "Number of nops inserted");
+  Statistic nopalign("alpha-nops-align", 
 		       "Number of nops inserted for alignment");
 
   cl::opt<bool>






More information about the llvm-commits mailing list