From c2ee9b9c7a6517f959aea31fa2c61631fe2f2903 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 19 Nov 2003 21:08:57 +0000 Subject: [PATCH] Fine grainify namespaceification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10093 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/ExecutionEngine.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index b7da23ca714..2681790e56a 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