mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 21:56:15 +00:00
remove static ctors from Statistic objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
13b017c1f9
commit
36343735cb
@ -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