[llvm] r195183 - Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere
Eric Christopher
echristo at gmail.com
Tue Nov 19 16:54:31 PST 2013
Author: echristo
Date: Tue Nov 19 18:54:31 2013
New Revision: 195183
URL: http://llvm.org/viewvc/llvm-project?rev=195183&view=rev
Log:
Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere
and not polymorphically deleted and they are the only thing that derive
from DIE.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h?rev=195183&r1=195182&r2=195183&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h Tue Nov 19 18:54:31 2013
@@ -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; }
More information about the llvm-commits
mailing list