[llvm-commits] CVS: llvm/lib/Target/Sparc/DelaySlotFiller.cpp FPMover.cpp SparcAsmPrinter.cpp

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



Changes in directory llvm/lib/Target/Sparc:

DelaySlotFiller.cpp updated: 1.11 -> 1.12
FPMover.cpp updated: 1.15 -> 1.16
SparcAsmPrinter.cpp updated: 1.72 -> 1.73
---
Log message:

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



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

 DelaySlotFiller.cpp |    2 +-
 FPMover.cpp         |    4 ++--
 SparcAsmPrinter.cpp |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/Sparc/DelaySlotFiller.cpp
diff -u llvm/lib/Target/Sparc/DelaySlotFiller.cpp:1.11 llvm/lib/Target/Sparc/DelaySlotFiller.cpp:1.12
--- llvm/lib/Target/Sparc/DelaySlotFiller.cpp:1.11	Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/Sparc/DelaySlotFiller.cpp	Wed Dec  6 11:46:32 2006
@@ -20,7 +20,7 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> FilledSlots("delayslotfiller", "Num. of delay slots filled");
+  Statistic FilledSlots("delayslotfiller", "Num. of delay slots filled");
 
   struct Filler : public MachineFunctionPass {
     /// Target machine description which we query for reg. names, data


Index: llvm/lib/Target/Sparc/FPMover.cpp
diff -u llvm/lib/Target/Sparc/FPMover.cpp:1.15 llvm/lib/Target/Sparc/FPMover.cpp:1.16
--- llvm/lib/Target/Sparc/FPMover.cpp:1.15	Thu Nov 30 01:12:03 2006
+++ llvm/lib/Target/Sparc/FPMover.cpp	Wed Dec  6 11:46:32 2006
@@ -23,8 +23,8 @@
 using namespace llvm;
 
 namespace {
-  Statistic<> NumFpDs("fpmover", "Number of instructions translated");
-  Statistic<> NoopFpDs("fpmover", "Number of noop instructions removed");
+  Statistic NumFpDs("fpmover", "Number of instructions translated");
+  Statistic NoopFpDs("fpmover", "Number of noop instructions removed");
 
   struct FPMover : public MachineFunctionPass {
     /// Target machine description which we query for reg. names, data


Index: llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
diff -u llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.72 llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.73
--- llvm/lib/Target/Sparc/SparcAsmPrinter.cpp:1.72	Wed Dec  6 00:13:25 2006
+++ llvm/lib/Target/Sparc/SparcAsmPrinter.cpp	Wed Dec  6 11:46:32 2006
@@ -34,7 +34,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 SparcAsmPrinter : public AsmPrinter {
     SparcAsmPrinter(std::ostream &O, TargetMachine &TM, const TargetAsmInfo *T)






More information about the llvm-commits mailing list