diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-18 01:32:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-18 01:32:34 +0000 |
commit | 5398a6eb6c371051617379809a2438712cedd49d (patch) | |
tree | 2445af8dc2451175654431f08e1059c8e8d37126 /llvm/lib/Transforms/Scalar/SymbolStripping.cpp | |
parent | f71b8274417db06af09a4fa9808813ddc84d4d1f (diff) | |
download | bcm5719-llvm-5398a6eb6c371051617379809a2438712cedd49d.tar.gz bcm5719-llvm-5398a6eb6c371051617379809a2438712cedd49d.zip |
Convert optimizations to the pass infrastructure
llvm-svn: 873
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SymbolStripping.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/SymbolStripping.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/SymbolStripping.cpp b/llvm/lib/Transforms/Scalar/SymbolStripping.cpp index 6104b62e431..06cf025221d 100644 --- a/llvm/lib/Transforms/Scalar/SymbolStripping.cpp +++ b/llvm/lib/Transforms/Scalar/SymbolStripping.cpp @@ -44,16 +44,16 @@ static bool StripSymbolTable(SymbolTable *SymTab) { // DoSymbolStripping - Remove all symbolic information from a method // -bool opt::DoSymbolStripping(Method *M) { +bool opt::SymbolStripping::doSymbolStripping(Method *M) { return StripSymbolTable(M->getSymbolTable()); } -// DoFullSymbolStripping - Remove all symbolic information from all methods +// doStripGlobalSymbols - Remove all symbolic information from all methods // in a module, and all module level symbols. (method names, etc...) // -bool opt::DoFullSymbolStripping(Module *M) { +bool opt::FullSymbolStripping::doStripGlobalSymbols(Module *M) { // Remove all symbols from methods in this module... and then strip all of the // symbols in this module... // - return DoSymbolStripping(M) | StripSymbolTable(M->getSymbolTable()); + return StripSymbolTable(M->getSymbolTable()); } |