diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:56:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:56:53 +0000 |
commit | cecf56b0691b1f3e9ff4435b60f9bcbfd79f155a (patch) | |
tree | 25f322413a81c50289a90c5585efeceaadd1a136 | |
parent | 3d3a429acb1de79eb15575ed4d90a0a951fda576 (diff) |
elimiante Statistic static ctors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32702 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index f7400e9ac9..346b615952 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -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; //===----------------------------------------------------------------------===// |