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
/
CodeGen
/
MachineLoopInfo.cpp
diff --git
a/lib/CodeGen/MachineLoopInfo.cpp
b/lib/CodeGen/MachineLoopInfo.cpp
index 007317ccb59948bf9ca429be18e06d56aef88169..ac3df435008a59d93b771389aa8d79aee386af0c 100644
(file)
--- a/
lib/CodeGen/MachineLoopInfo.cpp
+++ b/
lib/CodeGen/MachineLoopInfo.cpp
@@
-23,10
+23,8
@@
TEMPLATE_INSTANTIATION(class LoopBase<MachineBasicBlock>);
TEMPLATE_INSTANTIATION(class LoopInfoBase<MachineBasicBlock>);
char MachineLoopInfo::ID = 0;
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();
const PassInfo *llvm::MachineLoopInfoID = X.getPassInfo();