summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.cpp
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/Analysis/InstCount.cpp
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/Analysis/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index 80f8bd88180..38f0bbaa9a7 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/lib/Analysis/InstCount.cpp
@@ -21,13 +21,13 @@
using namespace llvm;
namespace {
- Statistic<> TotalInsts ("instcount", "Number of instructions (of all types)");
- Statistic<> TotalBlocks("instcount", "Number of basic blocks");
- Statistic<> TotalFuncs ("instcount", "Number of non-external functions");
- Statistic<> TotalMemInst("instcount", "Number of memory instructions");
+ Statistic TotalInsts ("instcount", "Number of instructions (of all types)");
+ Statistic TotalBlocks("instcount", "Number of basic blocks");
+ Statistic TotalFuncs ("instcount", "Number of non-external functions");
+ Statistic TotalMemInst("instcount", "Number of memory instructions");
#define HANDLE_INST(N, OPCODE, CLASS) \
- Statistic<> Num##OPCODE##Inst("instcount", "Number of " #OPCODE " insts");
+ Statistic Num##OPCODE##Inst("instcount", "Number of " #OPCODE " insts");
#include "llvm/Instruction.def"
OpenPOWER on IntegriCloud