[llvm-commits] CVS: llvm/include/llvm/AbstractTypeUser.h Type.h

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 12 00:42:42 PST 2005



Changes in directory llvm/include/llvm:

AbstractTypeUser.h updated: 1.25 -> 1.26
Type.h updated: 1.77 -> 1.78
---
Log message:

remove a dead method


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

 AbstractTypeUser.h |    8 --------
 Type.h             |    5 -----
 2 files changed, 13 deletions(-)


Index: llvm/include/llvm/AbstractTypeUser.h
diff -u llvm/include/llvm/AbstractTypeUser.h:1.25 llvm/include/llvm/AbstractTypeUser.h:1.26
--- llvm/include/llvm/AbstractTypeUser.h:1.25	Thu Apr 21 22:20:18 2005
+++ llvm/include/llvm/AbstractTypeUser.h	Sat Nov 12 02:42:30 2005
@@ -117,14 +117,6 @@
 
   // operator-> - Allow user to dereference handle naturally...
   inline const Type *operator->() const { return Ty; }
-
-  // removeUserFromConcrete - This function should be called when the User is
-  // notified that our type is refined... and the type is being refined to
-  // itself, which is now a concrete type.  When a type becomes concrete like
-  // this, we MUST remove ourself from the AbstractTypeUser list, even though
-  // the type is apparently concrete.
-  //
-  void removeUserFromConcrete();
 };
 
 


Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.77 llvm/include/llvm/Type.h:1.78
--- llvm/include/llvm/Type.h:1.77	Sat Apr 23 16:59:42 2005
+++ llvm/include/llvm/Type.h	Sat Nov 12 02:42:30 2005
@@ -357,11 +357,6 @@
     Ty->removeAbstractTypeUser(User);
 }
 
-inline void PATypeHandle::removeUserFromConcrete() {
-  if (!Ty->isAbstract())
-    Ty->removeAbstractTypeUser(User);
-}
-
 // Define inline methods for PATypeHolder...
 
 inline void PATypeHolder::addRef() {






More information about the llvm-commits mailing list