summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 22:56:53 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 22:56:53 +0000
commite712a5a1d2370e20328341149bef21040222abf3 (patch)
tree71f384e304588267d4feb1ba31e0950d55bbced2 /llvm/lib/ExecutionEngine/Interpreter
parenta20006cd960969ff7d12359b0c36cd2daa9fd403 (diff)
downloadbcm5719-llvm-e712a5a1d2370e20328341149bef21040222abf3.tar.gz
bcm5719-llvm-e712a5a1d2370e20328341149bef21040222abf3.zip
elimiante Statistic static ctors
llvm-svn: 32702
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index f7400e9ac9f..346b6159524 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/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;
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud