diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-12 08:42:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-12 08:42:30 +0000 |
commit | 6dc0b7bea9f229e83d8dd4da799421edc86b1852 (patch) | |
tree | 64bcc91b7db9754835ab80edede9b3a49087a082 /include/llvm | |
parent | 7548590ecc468a0229e10bc94642947944fd98c6 (diff) | |
download | external_llvm-6dc0b7bea9f229e83d8dd4da799421edc86b1852.zip external_llvm-6dc0b7bea9f229e83d8dd4da799421edc86b1852.tar.gz external_llvm-6dc0b7bea9f229e83d8dd4da799421edc86b1852.tar.bz2 |
remove a dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/AbstractTypeUser.h | 8 | ||||
-rw-r--r-- | include/llvm/Type.h | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h index 9e96a99..2b6bc31 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 502a9d9..dd2fd9b 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() { |