summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-06 17:46:33 +0000
committerChris Lattner <sabre@nondot.org>2006-12-06 17:46:33 +0000
commit700b873130d0865283319f6e328f1887b19f25f0 (patch)
tree0c3de26f259a9ce6c47d509613ac6e0671d01849 /llvm/lib/Target/Sparc
parentacbb456dde4a1561764504b980f9a40cc682e962 (diff)
downloadbcm5719-llvm-700b873130d0865283319f6e328f1887b19f25f0.tar.gz
bcm5719-llvm-700b873130d0865283319f6e328f1887b19f25f0.zip
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'. llvm-svn: 32279
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/DelaySlotFiller.cpp2
-rw-r--r--llvm/lib/Target/Sparc/FPMover.cpp4
-rw-r--r--llvm/lib/Target/Sparc/SparcAsmPrinter.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
index 715a373b937..768b79b9fb1 100644
--- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
+++ b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -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
diff --git a/llvm/lib/Target/Sparc/FPMover.cpp b/llvm/lib/Target/Sparc/FPMover.cpp
index 991e29d8a9e..2b24d991f04 100644
--- a/llvm/lib/Target/Sparc/FPMover.cpp
+++ b/llvm/lib/Target/Sparc/FPMover.cpp
@@ -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
diff --git a/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp b/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
index 0b4fec9fc09..034c8f6967c 100644
--- a/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
+++ b/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
@@ -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)
OpenPOWER on IntegriCloud