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/Transforms/Utils/Mem2Reg.cpp | |
parent | acbb456dde4a1561764504b980f9a40cc682e962 (diff) | |
download | llvm-700b873130d0865283319f6e328f1887b19f25f0.zip llvm-700b873130d0865283319f6e328f1887b19f25f0.tar.gz llvm-700b873130d0865283319f6e328f1887b19f25f0.tar.bz2 |
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
llvm-svn: 32279
Diffstat (limited to 'llvm/lib/Transforms/Utils/Mem2Reg.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/Mem2Reg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Mem2Reg.cpp b/llvm/lib/Transforms/Utils/Mem2Reg.cpp index f4ab50f..e0f79dd 100644 --- a/llvm/lib/Transforms/Utils/Mem2Reg.cpp +++ b/llvm/lib/Transforms/Utils/Mem2Reg.cpp @@ -24,7 +24,7 @@ using namespace llvm; namespace { - Statistic<> NumPromoted("mem2reg", "Number of alloca's promoted"); + Statistic NumPromoted("mem2reg", "Number of alloca's promoted"); struct VISIBILITY_HIDDEN PromotePass : public FunctionPass { // runOnFunction - To run this pass, first we calculate the alloca |