[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 19 14:43:50 PST 2006
Changes in directory llvm/lib/ExecutionEngine/JIT:
JITEmitter.cpp updated: 1.123 -> 1.124
---
Log message:
remove static ctors from Statistic objects
---
Diffs of the changes: (+3 -6)
JITEmitter.cpp | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
Index: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.123 llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.124
--- llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.123 Thu Dec 14 16:53:42 2006
+++ llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp Tue Dec 19 16:43:32 2006
@@ -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.
More information about the llvm-commits
mailing list