remove static ctors from Statistic objects


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32700 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 227c5db..4fc454e 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/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.