Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git] / lib / CodeGen / MachineLoopInfo.cpp
index 007317ccb59948bf9ca429be18e06d56aef88169..ac3df435008a59d93b771389aa8d79aee386af0c 100644 (file)
@@ -23,10 +23,8 @@ TEMPLATE_INSTANTIATION(class LoopBase<MachineBasicBlock>);
 TEMPLATE_INSTANTIATION(class LoopInfoBase<MachineBasicBlock>);
 
 char MachineLoopInfo::ID = 0;
-namespace {
-  RegisterPass<MachineLoopInfo>
-  X("machine-loops", "Machine Natural Loop Construction", true);
-}
+static RegisterPass<MachineLoopInfo>
+X("machine-loops", "Machine Natural Loop Construction", true);
 
 const PassInfo *llvm::MachineLoopInfoID = X.getPassInfo();