mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Devirtualizing Value destructor (PR889). Patch by Pawel Kunio!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44747 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,6 +43,11 @@ class GlobalAlias : public GlobalValue {
|
||||
const GlobalAlias *getPrev() const { return Prev; }
|
||||
|
||||
Use Aliasee;
|
||||
protected:
|
||||
static void destroyThis(GlobalAlias*v) {
|
||||
GlobalValue::destroyThis(v);
|
||||
}
|
||||
friend class Value;
|
||||
public:
|
||||
/// GlobalAlias ctor - If a parent module is specified, the alias is
|
||||
/// automatically inserted into the end of the specified module's alias list.
|
||||
|
Reference in New Issue
Block a user