diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:41:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:41:21 +0000 |
commit | cd3245ac45c595da96bb768a55cddc356dff55fe (patch) | |
tree | 2cfe9ce9a5871f25e319518822d6b882e395c252 /lib/CodeGen/RegAllocSimple.cpp | |
parent | 3b27d68c6af2582df0962557f1fe5c3f70f46e3f (diff) | |
download | external_llvm-cd3245ac45c595da96bb768a55cddc356dff55fe.zip external_llvm-cd3245ac45c595da96bb768a55cddc356dff55fe.tar.gz external_llvm-cd3245ac45c595da96bb768a55cddc356dff55fe.tar.bz2 |
Eliminate static ctors from Statistics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocSimple.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocSimple.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocSimple.cpp b/lib/CodeGen/RegAllocSimple.cpp index 0150404..e632e35 100644 --- a/lib/CodeGen/RegAllocSimple.cpp +++ b/lib/CodeGen/RegAllocSimple.cpp @@ -29,10 +29,10 @@ #include "llvm/ADT/STLExtras.h" using namespace llvm; -namespace { - static Statistic NumStores("ra-simple", "Number of stores added"); - static Statistic NumLoads ("ra-simple", "Number of loads added"); +STATISTIC(NumStores, "Number of stores added"); +STATISTIC(NumLoads , "Number of loads added"); +namespace { static RegisterRegAlloc simpleRegAlloc("simple", " simple register allocator", createSimpleRegisterAllocator); |