diff --git a/include/llvm/Analysis/FindUsedTypes.h b/include/llvm/Analysis/FindUsedTypes.h index 55937d753ce..cc49c8480a6 100644 --- a/include/llvm/Analysis/FindUsedTypes.h +++ b/include/llvm/Analysis/FindUsedTypes.h @@ -14,16 +14,13 @@ class Type; class FindUsedTypes : public Pass { std::set UsedTypes; - - bool IncludeSymbolTables; public: // FindUsedTypes ctor - This pass can optionally include types that are // referenced only in symbol tables, but the default is not to. // static AnalysisID ID; - static AnalysisID IncludeSymbolTableID; - FindUsedTypes(AnalysisID id) : IncludeSymbolTables(id != ID) {} + FindUsedTypes(AnalysisID id) {} virtual const char *getPassName() const { return "Find Used Types"; } // getTypes - After the pass has been run, return the set containing all of @@ -43,11 +40,6 @@ private: // void IncorporateType(const Type *Ty); - // IncorporateSymbolTable - Add all types referenced by the specified symtab - // into the collection of used types. - // - void IncorporateSymbolTable(const SymbolTable *ST); - public: // run - This incorporates all types used by the specified module //