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:
parent
c56e82c8c6
commit
91037dd5fd
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user