Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git] / lib / Target / Alpha / AlphaTargetMachine.cpp
index 0887b952bb53f897575d8dc3d7c7e9f11ad56d0f..e986a64c090c90d7b0b15f8df5956c73fee8af9c 100644 (file)
 
 using namespace llvm;
 
-namespace {
-  // Register the targets
-  RegisterTarget<AlphaTargetMachine> X("alpha", "  Alpha (incomplete)");
-}
+// Register the targets
+static RegisterTarget<AlphaTargetMachine> X("alpha", "  Alpha (incomplete)");
 
 const TargetAsmInfo *AlphaTargetMachine::createTargetAsmInfo() const {
   return new AlphaTargetAsmInfo(*this);