From 6dc0b7bea9f229e83d8dd4da799421edc86b1852 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 12 Nov 2005 08:42:30 +0000 Subject: [PATCH] remove a dead method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24325 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/AbstractTypeUser.h | 8 -------- include/llvm/Type.h | 5 ----- 2 files changed, 13 deletions(-) diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h index 9e96a99af0b..2b6bc319496 100644 --- a/include/llvm/AbstractTypeUser.h +++ b/include/llvm/AbstractTypeUser.h @@ -117,14 +117,6 @@ public: // 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(); }; diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 502a9d9046a..dd2fd9b1132 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -357,11 +357,6 @@ inline void PATypeHandle::removeUser() { Ty->removeAbstractTypeUser(User); } -inline void PATypeHandle::removeUserFromConcrete() { - if (!Ty->isAbstract()) - Ty->removeAbstractTypeUser(User); -} - // Define inline methods for PATypeHolder... inline void PATypeHolder::addRef() {