summaryrefslogtreecommitdiff
path: root/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
commit9259787e4f3b36d1712c821eead62e7faad3ecd4 (patch)
treef3993312d04127f2b322804ae1feaf010514b572 /lib/CodeGen/AsmPrinter/DIE.h
parentb88a94faaab2234d7da660a577b612754ecb9897 (diff)
downloadllvm-9259787e4f3b36d1712c821eead62e7faad3ecd4.tar.gz
llvm-9259787e4f3b36d1712c821eead62e7faad3ecd4.tar.bz2
llvm-9259787e4f3b36d1712c821eead62e7faad3ecd4.tar.xz
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h
index 0574a98536..e8265153f3 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; }