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

is 'unsigned'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-12-06 17:46:33 +00:00
parent 2b4e98cb20
commit ac0b6ae358
97 changed files with 252 additions and 255 deletions

View File

@@ -28,12 +28,12 @@
using namespace llvm;
namespace {
Statistic<> NumInstRemoved("gcse", "Number of instructions removed");
Statistic<> NumLoadRemoved("gcse", "Number of loads removed");
Statistic<> NumCallRemoved("gcse", "Number of calls removed");
Statistic<> NumNonInsts ("gcse", "Number of instructions removed due "
Statistic NumInstRemoved("gcse", "Number of instructions removed");
Statistic NumLoadRemoved("gcse", "Number of loads removed");
Statistic NumCallRemoved("gcse", "Number of calls removed");
Statistic NumNonInsts ("gcse", "Number of instructions removed due "
"to non-instruction values");
Statistic<> NumArgsRepl ("gcse", "Number of function arguments replaced "
Statistic NumArgsRepl ("gcse", "Number of function arguments replaced "
"with constant values");
struct GCSE : public FunctionPass {