diff options
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngine.cpp | 9 |
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 |