diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:43:32 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:43:32 +0000 |
| commit | c346ecd78053321eb6ff39c859fc816c7d9163d4 (patch) | |
| tree | 73a99f4d80a7c8d41c6bd2030cfa51b2808bb0c7 /llvm/lib/ExecutionEngine/JIT | |
| parent | 38ea551520a05650a95b0ec297f0130cd93f5017 (diff) | |
| download | bcm5719-llvm-c346ecd78053321eb6ff39c859fc816c7d9163d4.tar.gz bcm5719-llvm-c346ecd78053321eb6ff39c859fc816c7d9163d4.zip | |
remove static ctors from Statistic objects
llvm-svn: 32700
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp index 227c5dbb640..4fc454e2ba5 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -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. |

