1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

remove static ctors from Statistic objects

llvm-svn: 32700
This commit is contained in:
Chris Lattner 2006-12-19 22:43:32 +00:00
parent c56e82c8c6
commit 91037dd5fd
2 changed files with 5 additions and 10 deletions

View File

@ -26,10 +26,8 @@
#include "llvm/Target/TargetData.h"
using namespace llvm;
namespace {
Statistic NumInitBytes("lli", "Number of bytes of global vars initialized");
Statistic NumGlobals ("lli", "Number of global vars initialized");
}
STATISTIC(NumInitBytes, "Number of bytes of global vars initialized");
STATISTIC(NumGlobals , "Number of global vars initialized");
ExecutionEngine::EECtorFn ExecutionEngine::JITCtor = 0;
ExecutionEngine::EECtorFn ExecutionEngine::InterpCtor = 0;

View File

@ -33,12 +33,9 @@
#include <algorithm>
using namespace llvm;
namespace {
Statistic NumBytes("jit", "Number of bytes of machine code compiled");
Statistic NumRelos("jit", "Number of relocations applied");
JIT *TheJIT = 0;
}
STATISTIC(NumBytes, "Number of bytes of machine code compiled");
STATISTIC(NumRelos, "Number of relocations applied");
static JIT *TheJIT = 0;
//===----------------------------------------------------------------------===//
// JITMemoryManager code.