Hrm is a really nasty ommission. The lack of this destructor was causing abstract

types to never be deleted, manifesting itself as many OpaqueType objects being
leaked.  Whoops.

llvm-svn: 10601
This commit is contained in:
Chris Lattner 2003-12-23 23:25:21 +00:00
parent 5695ec9f95
commit 547508d542
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ public:
addRef();
}
~PATypeHolder() { dropRef(); }
operator const Type *() const { return get(); }
const Type *get() const;