Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git] / lib / Target / Mips / MipsTargetMachine.cpp
index 09e058f34f31c12828d8f9c16ea1e1427405b130..40de5dff1b58c99bd54fd805e4ea3280b6a2a984 100644 (file)
 #include "llvm/Target/TargetMachineRegistry.h"
 using namespace llvm;
 
-namespace {
-  // Register the target.
-  RegisterTarget<MipsTargetMachine> X("mips", "  Mips");
-}
+// Register the target.
+static RegisterTarget<MipsTargetMachine> X("mips", "  Mips");
 
 const TargetAsmInfo *MipsTargetMachine::
 createTargetAsmInfo() const