projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git]
/
lib
/
Target
/
Alpha
/
AlphaTargetMachine.cpp
diff --git
a/lib/Target/Alpha/AlphaTargetMachine.cpp
b/lib/Target/Alpha/AlphaTargetMachine.cpp
index 0887b952bb53f897575d8dc3d7c7e9f11ad56d0f..e986a64c090c90d7b0b15f8df5956c73fee8af9c 100644
(file)
--- a/
lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/
lib/Target/Alpha/AlphaTargetMachine.cpp
@@
-20,10
+20,8
@@
using namespace llvm;
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);
const TargetAsmInfo *AlphaTargetMachine::createTargetAsmInfo() const {
return new AlphaTargetAsmInfo(*this);