remove a dead method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-12 08:42:30 +00:00
parent 7548590ecc
commit 6dc0b7bea9
2 changed files with 0 additions and 13 deletions

View File

@ -117,14 +117,6 @@ public:
// operator-> - Allow user to dereference handle naturally... // operator-> - Allow user to dereference handle naturally...
inline const Type *operator->() const { return Ty; } 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();
}; };

View File

@ -357,11 +357,6 @@ inline void PATypeHandle::removeUser() {
Ty->removeAbstractTypeUser(User); Ty->removeAbstractTypeUser(User);
} }
inline void PATypeHandle::removeUserFromConcrete() {
if (!Ty->isAbstract())
Ty->removeAbstractTypeUser(User);
}
// Define inline methods for PATypeHolder... // Define inline methods for PATypeHolder...
inline void PATypeHolder::addRef() { inline void PATypeHolder::addRef() {