summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.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
commitac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da (patch)
treecba006a0f0e329a969ce29b7d10ba0dc244f4f90 /lib/CodeGen/BranchFolding.cpp
parent2b4e98cb20c9391399b2601a793b6ea689da3cee (diff)
downloadllvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.gz
llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.bz2
llvm-ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da.tar.xz
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
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 8ded3cdc64..0dfa4928f9 100644
--- a/lib/CodeGen/BranchFolding.cpp
+++ b/lib/CodeGen/BranchFolding.cpp
@@ -30,9 +30,9 @@
#include <algorithm>
using namespace llvm;
-static Statistic<> NumDeadBlocks("branchfold", "Number of dead blocks removed");
-static Statistic<> NumBranchOpts("branchfold", "Number of branches optimized");
-static Statistic<> NumTailMerge ("branchfold", "Number of block tails merged");
+static Statistic NumDeadBlocks("branchfold", "Number of dead blocks removed");
+static Statistic NumBranchOpts("branchfold", "Number of branches optimized");
+static Statistic NumTailMerge ("branchfold", "Number of block tails merged");
static cl::opt<bool> EnableTailMerge("enable-tail-merge", cl::Hidden);
namespace {