diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
commit | 700b873130d0865283319f6e328f1887b19f25f0 (patch) | |
tree | 0c3de26f259a9ce6c47d509613ac6e0671d01849 /llvm/lib/Analysis/DataStructure/DataStructure.cpp | |
parent | acbb456dde4a1561764504b980f9a40cc682e962 (diff) | |
download | bcm5719-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/DataStructure/DataStructure.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/DataStructure.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/DataStructure/DataStructure.cpp b/llvm/lib/Analysis/DataStructure/DataStructure.cpp index 6eee541aeb5..80237c4f0bf 100644 --- a/llvm/lib/Analysis/DataStructure/DataStructure.cpp +++ b/llvm/lib/Analysis/DataStructure/DataStructure.cpp @@ -34,12 +34,12 @@ using namespace llvm; #define COLLAPSE_ARRAYS_AGGRESSIVELY 0 namespace { - Statistic<> NumFolds ("dsa", "Number of nodes completely folded"); - Statistic<> NumCallNodesMerged("dsa", "Number of call nodes merged"); - Statistic<> NumNodeAllocated ("dsa", "Number of nodes allocated"); - Statistic<> NumDNE ("dsa", "Number of nodes removed by reachability"); - Statistic<> NumTrivialDNE ("dsa", "Number of nodes trivially removed"); - Statistic<> NumTrivialGlobalDNE("dsa", "Number of globals trivially removed"); + Statistic NumFolds ("dsa", "Number of nodes completely folded"); + Statistic NumCallNodesMerged("dsa", "Number of call nodes merged"); + Statistic NumNodeAllocated ("dsa", "Number of nodes allocated"); + Statistic NumDNE ("dsa", "Number of nodes removed by reachability"); + Statistic NumTrivialDNE ("dsa", "Number of nodes trivially removed"); + Statistic NumTrivialGlobalDNE("dsa", "Number of globals trivially removed"); static cl::opt<unsigned> DSAFieldLimit("dsa-field-limit", cl::Hidden, cl::desc("Number of fields to track before collapsing a node"), |