From: Eric Christopher Date: Wed, 20 Nov 2013 00:54:31 +0000 (+0000) Subject: Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9259787e4f3b36d1712c821eead62e7faad3ecd4;p=oota-llvm.git Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere 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 --- diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index 0574a98536b..e8265153f39 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -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; }