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
/
Transforms
/
IPO
/
RaiseAllocations.cpp
diff --git
a/lib/Transforms/IPO/RaiseAllocations.cpp
b/lib/Transforms/IPO/RaiseAllocations.cpp
index 1f12fcf79d3f5e8667a85ec1276d6462fd13106e..0931dec01055727176975c186b88d0cca1af089d 100644
(file)
--- a/
lib/Transforms/IPO/RaiseAllocations.cpp
+++ b/
lib/Transforms/IPO/RaiseAllocations.cpp
@@
-48,12
+48,11
@@
namespace {
//
bool runOnModule(Module &M);
};
//
bool runOnModule(Module &M);
};
-
- char RaiseAllocations::ID = 0;
- RegisterPass<RaiseAllocations>
- X("raiseallocs", "Raise allocations from calls to instructions");
} // end anonymous namespace
} // end anonymous namespace
+char RaiseAllocations::ID = 0;
+static RegisterPass<RaiseAllocations>
+X("raiseallocs", "Raise allocations from calls to instructions");
// createRaiseAllocationsPass - The interface to this file...
ModulePass *llvm::createRaiseAllocationsPass() {
// createRaiseAllocationsPass - The interface to this file...
ModulePass *llvm::createRaiseAllocationsPass() {