[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

Chris Lattner sabre at nondot.org
Tue Dec 19 14:57:08 PST 2006



Changes in directory llvm/lib/ExecutionEngine/Interpreter:

Execution.cpp updated: 1.152 -> 1.153
---
Log message:

elimiante Statistic static ctors


---
Diffs of the changes:  (+2 -5)

 Execution.cpp |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)


Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.152 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.153
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.152	Wed Dec  6 19:30:31 2006
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp	Tue Dec 19 16:56:53 2006
@@ -23,11 +23,8 @@
 #include <cmath>
 using namespace llvm;
 
-namespace {
-  Statistic NumDynamicInsts("lli", "Number of dynamic instructions executed");
-
-  Interpreter *TheEE = 0;
-}
+STATISTIC(NumDynamicInsts, "Number of dynamic instructions executed");
+static Interpreter *TheEE = 0;
 
 
 //===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list