Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git] / lib / CodeGen / RegAllocLocal.cpp
index 3281a2c3daf7cde2f673fc86966cc57f2787ec3d..18e7656bd46e57ce60c67ed5a003a5e7dff65de7 100644 (file)
@@ -37,12 +37,11 @@ using namespace llvm;
 STATISTIC(NumStores, "Number of stores added");
 STATISTIC(NumLoads , "Number of loads added");
 
-namespace {
-  static RegisterRegAlloc
-    localRegAlloc("local", "  local register allocator",
-                  createLocalRegisterAllocator);
-
+static RegisterRegAlloc
+  localRegAlloc("local", "  local register allocator",
+                createLocalRegisterAllocator);
 
+namespace {
   class VISIBILITY_HIDDEN RALocal : public MachineFunctionPass {
   public:
     static char ID;