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 | 47c4c65cb68a8ce18329df0563dcc4b2de5a3e39 (patch) | |
tree | 13bfb5910594d2a7b8a4f4aa01c2edd376791a1c | |
parent | f2794fa073677092e8262afb84026673001be827 (diff) | |
download | bcm5719-llvm-47c4c65cb68a8ce18329df0563dcc4b2de5a3e39.tar.gz bcm5719-llvm-47c4c65cb68a8ce18329df0563dcc4b2de5a3e39.zip |
remove a dead method
llvm-svn: 24325
-rw-r--r-- | llvm/include/llvm/AbstractTypeUser.h | 8 | ||||
-rw-r--r-- | llvm/include/llvm/Type.h | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/llvm/include/llvm/AbstractTypeUser.h b/llvm/include/llvm/AbstractTypeUser.h index 9e96a99af0b..2b6bc319496 100644 --- a/llvm/include/llvm/AbstractTypeUser.h +++ b/llvm/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/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h index 502a9d9046a..dd2fd9b1132 100644 --- a/llvm/include/llvm/Type.h +++ b/llvm/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() { |