mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user