summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-11-20 00:54:31 +0000
committerEric Christopher <echristo@gmail.com>2013-11-20 00:54:31 +0000
commit3262a11680cf587d7fefe49c57b2668ef44fd293 (patch)
tree4f4ccf9740a599362512bfa0bc9f1ee7a7a26d51 /llvm/lib/CodeGen/AsmPrinter/DIE.h
parentb7dee8a606496d52f02b7e9523487fcb89ae90de (diff)
downloadbcm5719-llvm-3262a11680cf587d7fefe49c57b2668ef44fd293.tar.gz
bcm5719-llvm-3262a11680cf587d7fefe49c57b2668ef44fd293.zip
Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere
and not polymorphically deleted and they are the only thing that derive from DIE. llvm-svn: 195183
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h
index 0574a98536b..e8265153f39 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud