mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +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:
@ -32,12 +32,11 @@
|
||||
#include <algorithm>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
static Statistic NumStores("ra-local", "Number of stores added");
|
||||
static Statistic NumLoads ("ra-local", "Number of loads added");
|
||||
static Statistic NumFolded("ra-local", "Number of loads/stores folded "
|
||||
"into instructions");
|
||||
STATISTIC(NumStores, "Number of stores added");
|
||||
STATISTIC(NumLoads , "Number of loads added");
|
||||
STATISTIC(NumFolded, "Number of loads/stores folded into instructions");
|
||||
|
||||
namespace {
|
||||
static RegisterRegAlloc
|
||||
localRegAlloc("local", " local register allocator",
|
||||
createLocalRegisterAllocator);
|
||||
|
Reference in New Issue
Block a user