mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -143,6 +143,8 @@ public:
|
|||||||
addRef();
|
addRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~PATypeHolder() { dropRef(); }
|
||||||
|
|
||||||
operator const Type *() const { return get(); }
|
operator const Type *() const { return get(); }
|
||||||
const Type *get() const;
|
const Type *get() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user