Eliminate static ctors from Statistics

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32698 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-12-19 22:41:21 +00:00
parent 3b27d68c6a
commit cd3245ac45
10 changed files with 44 additions and 65 deletions
+7 -10
View File
@@ -35,17 +35,14 @@
#include <cmath>
using namespace llvm;
STATISTIC(NumIters , "Number of iterations performed");
STATISTIC(NumBacktracks, "Number of times we had to backtrack");
static RegisterRegAlloc
linearscanRegAlloc("linearscan", " linear scan register allocator",
createLinearScanRegisterAllocator);
namespace {
static Statistic NumIters
("regalloc", "Number of iterations performed");
static Statistic NumBacktracks
("regalloc", "Number of times we had to backtrack");
static RegisterRegAlloc
linearscanRegAlloc("linearscan", " linear scan register allocator",
createLinearScanRegisterAllocator);
static unsigned numIterations = 0;
static unsigned numIntervals = 0;