summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-12 08:42:30 +0000
committerChris Lattner <sabre@nondot.org>2005-11-12 08:42:30 +0000
commit47c4c65cb68a8ce18329df0563dcc4b2de5a3e39 (patch)
tree13bfb5910594d2a7b8a4f4aa01c2edd376791a1c
parentf2794fa073677092e8262afb84026673001be827 (diff)
downloadbcm5719-llvm-47c4c65cb68a8ce18329df0563dcc4b2de5a3e39.tar.gz
bcm5719-llvm-47c4c65cb68a8ce18329df0563dcc4b2de5a3e39.zip
remove a dead method
llvm-svn: 24325
-rw-r--r--llvm/include/llvm/AbstractTypeUser.h8
-rw-r--r--llvm/include/llvm/Type.h5
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() {
OpenPOWER on IntegriCloud