elimiante Statistic static ctors
authorChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 22:56:53 +0000 (22:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 22:56:53 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32702 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Execution.cpp

index f7400e9ac9f4c5727f46be42a6846af4df4a8442..346b6159524730d58bdf3c1886d5071700fb574a 100644 (file)
 #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;
 
 
 //===----------------------------------------------------------------------===//