[llvm-commits] CVS: llvm/include/llvm/Analysis/FindUsedTypes.h

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 1 19:29:08 PST 2003


Changes in directory llvm/include/llvm/Analysis:

FindUsedTypes.h updated: 1.20 -> 1.21

---
Log message:

Including the symbol table in the FindUsedTypes analysis was the WRONG way
to fix test/Regression/CBackend/2003-10-23-UnusedType.ll.  This completely
neutered the deadtypeelim pass.


---
Diffs of the changes:  (+0 -5)

Index: llvm/include/llvm/Analysis/FindUsedTypes.h
diff -u llvm/include/llvm/Analysis/FindUsedTypes.h:1.20 llvm/include/llvm/Analysis/FindUsedTypes.h:1.21
--- llvm/include/llvm/Analysis/FindUsedTypes.h:1.20	Tue Oct 28 17:10:44 2003
+++ llvm/include/llvm/Analysis/FindUsedTypes.h	Sat Nov  1 19:28:34 2003
@@ -16,7 +16,6 @@
 
 #include "llvm/Pass.h"
 #include <set>
-class SymbolTable;
 class Type;
 
 class FindUsedTypes : public Pass {
@@ -42,10 +41,6 @@
   /// IncorporateValue - Incorporate all of the types used by this value.
   ///
   void IncorporateValue(const Value *V);
-
-  /// IncorporateSymbolTable - Include any named types.
-  ///
-  void IncorporateSymbolTable(const SymbolTable &ST);
 
 public:
   /// run - This incorporates all types used by the specified module





More information about the llvm-commits mailing list