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 | ee4dcae9ba4175b62b139cd63b5b5532e4d56197 (patch) | |
tree | 452180905f9f2af17f07b4e094e2df7763fa1193 | |
parent | 23257069b61981d261779d55c8c71b9769eae3e4 (diff) | |
download | bcm5719-llvm-ee4dcae9ba4175b62b139cd63b5b5532e4d56197.tar.gz bcm5719-llvm-ee4dcae9ba4175b62b139cd63b5b5532e4d56197.zip |
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.
llvm-svn: 13664
-rw-r--r-- | llvm/include/llvm/Support/InstVisitor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/InstVisitor.h b/llvm/include/llvm/Support/InstVisitor.h index 4af9256dcf7..c8e7cf98d05 100644 --- a/llvm/include/llvm/Support/InstVisitor.h +++ b/llvm/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... |