diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-05-23 20:54:39 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-05-23 20:54:39 +0000 |
commit | 14d2638e383f27e3b502f2c7a9de2169a8a39a36 (patch) | |
tree | 6ecc9dd5d74362ce3cf8bedab188b96f4ae5dcd0 /include | |
parent | aab56d4b907611e660c58b5676334fd2e63286c3 (diff) | |
download | llvm-14d2638e383f27e3b502f2c7a9de2169a8a39a36.tar.gz llvm-14d2638e383f27e3b502f2c7a9de2169a8a39a36.tar.bz2 llvm-14d2638e383f27e3b502f2c7a9de2169a8a39a36.tar.xz |
Remove virtual destructor from InstVisitor. This class should never be
used through a base pointer/reference so inproper destruction should
never be an issue. Removing this last virtual function also saves 4
bytes off each InstVisitor instance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 4af9256dcf..c8e7cf98d0 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -71,8 +71,6 @@ class AllocationInst; template<typename SubClass, typename RetTy=void> struct InstVisitor { - virtual ~InstVisitor() {} // We are meant to be derived from - //===--------------------------------------------------------------------===// // Interface code - This is the public interface of the InstVisitor that you // use to visit instructions... |