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