[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 19 15:10:04 PST 2003


Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.37 -> 1.38

---
Log message:

Fine grainify namespaceification


---
Diffs of the changes:  (+4 -5)

Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.37 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.38
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.37	Tue Nov 11 16:41:33 2003
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Wed Nov 19 15:08:57 2003
@@ -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 @@
     if (!I->isExternal())
       InitializeMemory(I->getInitializer(), GlobalAddress[I]);
 }
-
-} // End llvm namespace





More information about the llvm-commits mailing list