[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp ScheduleDAGList.cpp

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



Changes in directory llvm/lib/CodeGen/SelectionDAG:

DAGCombiner.cpp updated: 1.255 -> 1.256
ScheduleDAGList.cpp updated: 1.68 -> 1.69
---
Log message:

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



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

 DAGCombiner.cpp     |    6 +++---
 ScheduleDAGList.cpp |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.255 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.256
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.255	Sun Nov 26 22:40:53 2006
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp	Wed Dec  6 11:46:32 2006
@@ -43,12 +43,12 @@
 using namespace llvm;
 
 namespace {
-  static Statistic<> NodesCombined ("dagcombiner", 
+  static Statistic NodesCombined ("dagcombiner", 
 				    "Number of dag nodes combined");
             
-  static Statistic<> PreIndexedNodes ("pre_indexed_ops", 
+  static Statistic PreIndexedNodes ("pre_indexed_ops", 
                                       "Number of pre-indexed nodes created");
-  static Statistic<> PostIndexedNodes ("post_indexed_ops", 
+  static Statistic PostIndexedNodes ("post_indexed_ops", 
                                        "Number of post-indexed nodes created");
             
   static cl::opt<bool>


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.68 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.69
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.68	Sat Nov  4 03:44:31 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp	Wed Dec  6 11:46:32 2006
@@ -36,8 +36,8 @@
 using namespace llvm;
 
 namespace {
-  static Statistic<> NumNoops ("scheduler", "Number of noops inserted");
-  static Statistic<> NumStalls("scheduler", "Number of pipeline stalls");
+  static Statistic NumNoops ("scheduler", "Number of noops inserted");
+  static Statistic NumStalls("scheduler", "Number of pipeline stalls");
 }
 
 static RegisterScheduler






More information about the llvm-commits mailing list