[llvm-commits] CVS: llvm/lib/Target/IA64/IA64AsmPrinter.cpp IA64Bundling.cpp IA64ISelDAGToDAG.cpp

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



Changes in directory llvm/lib/Target/IA64:

IA64AsmPrinter.cpp updated: 1.38 -> 1.39
IA64Bundling.cpp updated: 1.4 -> 1.5
IA64ISelDAGToDAG.cpp updated: 1.61 -> 1.62
---
Log message:

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



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

 IA64AsmPrinter.cpp   |    2 +-
 IA64Bundling.cpp     |    2 +-
 IA64ISelDAGToDAG.cpp |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
diff -u llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.38 llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.39
--- llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.38	Wed Dec  6 00:13:25 2006
+++ llvm/lib/Target/IA64/IA64AsmPrinter.cpp	Wed Dec  6 11:46:32 2006
@@ -30,7 +30,7 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed");
+  Statistic EmittedInsts("asm-printer", "Number of machine instrs printed");
   
   struct IA64AsmPrinter : public AsmPrinter {
     std::set<std::string> ExternalFunctionNames, ExternalObjectNames;


Index: llvm/lib/Target/IA64/IA64Bundling.cpp
diff -u llvm/lib/Target/IA64/IA64Bundling.cpp:1.4 llvm/lib/Target/IA64/IA64Bundling.cpp:1.5
--- llvm/lib/Target/IA64/IA64Bundling.cpp:1.4	Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/IA64/IA64Bundling.cpp	Wed Dec  6 11:46:32 2006
@@ -33,7 +33,7 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> StopBitsAdded("ia64-codegen", "Number of stop bits added");
+  Statistic StopBitsAdded("ia64-codegen", "Number of stop bits added");
 
   struct IA64BundlingPass : public MachineFunctionPass {
     /// Target machine description which we query for reg. names, data


Index: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp
diff -u llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.61 llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.62
--- llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.61	Sat Nov 25 22:34:26 2006
+++ llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp	Wed Dec  6 11:46:32 2006
@@ -33,8 +33,8 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> FusedFP ("ia64-codegen", "Number of fused fp operations");
-  Statistic<> FrameOff("ia64-codegen", "Number of frame idx offsets collapsed");
+  Statistic FusedFP ("ia64-codegen", "Number of fused fp operations");
+  Statistic FrameOff("ia64-codegen", "Number of frame idx offsets collapsed");
     
   //===--------------------------------------------------------------------===//
   /// IA64DAGToDAGISel - IA64 specific code to select IA64 machine






More information about the llvm-commits mailing list