Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere
authorEric Christopher <echristo@gmail.com>
Wed, 20 Nov 2013 00:54:31 +0000 (00:54 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 20 Nov 2013 00:54:31 +0000 (00:54 +0000)
and not polymorphically deleted and they are the only thing that derive
from DIE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195183 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DIE.h

index 0574a98536bbf717fe82f4b7cb1488b932c64b07..e8265153f397eacd740b85933c8d0538342beb48 100644 (file)
@@ -134,7 +134,7 @@ namespace llvm {
     explicit DIE(unsigned Tag)
         : Offset(0), Size(0), Abbrev((dwarf::Tag)Tag, dwarf::DW_CHILDREN_no),
           Parent(0) {}
-    virtual ~DIE();
+    ~DIE();
 
     // Accessors.
     DIEAbbrev &getAbbrev() { return Abbrev; }