summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 22:41:21 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 22:41:21 +0000
commitaee775a6b717f0ec397e5d82d2a24d607f147466 (patch)
tree1178dac15fd98cb50691d48a4fab7989e9ce420d /llvm/lib/CodeGen/BranchFolding.cpp
parent57ef942306c83d26160fa024313600f894c9c065 (diff)
downloadbcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.tar.gz
bcm5719-llvm-aee775a6b717f0ec397e5d82d2a24d607f147466.zip
Eliminate static ctors from Statistics
llvm-svn: 32698
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 0dfa4928f99..69c6f4e62ea 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/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");
+STATISTIC(NumDeadBlocks, "Number of dead blocks removed");
+STATISTIC(NumBranchOpts, "Number of branches optimized");
+STATISTIC(NumTailMerge , "Number of block tails merged");
static cl::opt<bool> EnableTailMerge("enable-tail-merge", cl::Hidden);
namespace {
OpenPOWER on IntegriCloud