diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-07-25 19:59:41 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-07-25 19:59:41 +0000 |
| commit | b62cc6785c6ec16ef9e0bb1d7e62ebd109755d00 (patch) | |
| tree | acd624948b7cca1fc3beca433aa4ac673400e55a /llvm/lib | |
| parent | a442cde4145421c06dec48d2e5348419cb199727 (diff) | |
| download | bcm5719-llvm-b62cc6785c6ec16ef9e0bb1d7e62ebd109755d00.tar.gz bcm5719-llvm-b62cc6785c6ec16ef9e0bb1d7e62ebd109755d00.zip | |
*** empty log message ***
llvm-svn: 3097
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/IPA/FindUsedTypes.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Analysis/IPA/FindUsedTypes.cpp b/llvm/lib/Analysis/IPA/FindUsedTypes.cpp index f03babc7e2a..f91b8ae226e 100644 --- a/llvm/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/llvm/lib/Analysis/IPA/FindUsedTypes.cpp @@ -12,7 +12,6 @@ #include "llvm/Support/InstIterator.h" AnalysisID FindUsedTypes::ID(AnalysisID::create<FindUsedTypes>()); -AnalysisID FindUsedTypes::IncludeSymbolTableID(AnalysisID::create<FindUsedTypes>()); // IncorporateType - Incorporate one type and all of its subtypes into the // collection of used types. @@ -31,29 +30,18 @@ void FindUsedTypes::IncorporateType(const Type *Ty) { IncorporateType(*I); } -// IncorporateSymbolTable - Add all types referenced by the specified symtab -// into the collection of used types. -// -void FindUsedTypes::IncorporateSymbolTable(const SymbolTable *ST) { - assert(0 && "Unimp"); -} // run - This incorporates all types used by the specified module // bool FindUsedTypes::run(Module &m) { UsedTypes.clear(); // reset if run multiple times... - if (IncludeSymbolTables && m.hasSymbolTable()) - IncorporateSymbolTable(m.getSymbolTable()); // Add symtab first... - // Loop over global variables, incorporating their types for (Module::const_giterator I = m.gbegin(), E = m.gend(); I != E; ++I) IncorporateType(I->getType()); for (Module::iterator MI = m.begin(), ME = m.end(); MI != ME; ++MI) { const Function &F = *MI; - if (IncludeSymbolTables && F.hasSymbolTable()) - IncorporateSymbolTable(F.getSymbolTable()); // Add symtab first... // Loop over all of the instructions in the function, adding their return // type as well as the types of their operands. |

