mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Reverting dtor devirtualization patch.
_sabre_: it has a major problem: by the time ~Value is run, all of the "parts" of the derived classes have been destroyed _sabre_: the vtable lives to fight another day git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -45,11 +45,6 @@ class GlobalVariable : public GlobalValue {
|
||||
bool isThreadLocalSymbol : 1; // Is this symbol "Thread Local"?
|
||||
Use Initializer;
|
||||
|
||||
protected:
|
||||
static void destroyThis(GlobalVariable*v) {
|
||||
GlobalValue::destroyThis(v);
|
||||
}
|
||||
friend class Value;
|
||||
public:
|
||||
/// GlobalVariable ctor - If a parent module is specified, the global is
|
||||
/// automatically inserted into the end of the specified modules global list.
|
||||
|
Reference in New Issue
Block a user