aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-19 21:08:57 +0000
committerChris Lattner <sabre@nondot.org>2003-11-19 21:08:57 +0000
commitc2ee9b9c7a6517f959aea31fa2c61631fe2f2903 (patch)
treeaeb283697c1abfa7b46c2ed7b7625bc7a0a5929e /lib/ExecutionEngine
parentcb64241795d443c37d1d4fad2ca67a6daab5ce1a (diff)
downloadexternal_llvm-c2ee9b9c7a6517f959aea31fa2c61631fe2f2903.zip
external_llvm-c2ee9b9c7a6517f959aea31fa2c61631fe2f2903.tar.gz
external_llvm-c2ee9b9c7a6517f959aea31fa2c61631fe2f2903.tar.bz2
Fine grainify namespaceification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/ExecutionEngine.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp
index b7da23c..2681790 100644
--- a/lib/ExecutionEngine/ExecutionEngine.cpp
+++ b/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -26,10 +26,11 @@
#include "Support/Statistic.h"
#include "Support/DynamicLinker.h"
#include "Config/dlfcn.h"
+using namespace llvm;
-namespace llvm {
-
-Statistic<> NumInitBytes("lli", "Number of bytes of global vars initialized");
+namespace {
+ Statistic<> NumInitBytes("lli", "Number of bytes of global vars initialized");
+}
ExecutionEngine::ExecutionEngine(ModuleProvider *P) :
CurMod(*P->getModule()), MP(P) {
@@ -391,5 +392,3 @@ void ExecutionEngine::emitGlobals() {
if (!I->isExternal())
InitializeMemory(I->getInitializer(), GlobalAddress[I]);
}
-
-} // End llvm namespace