summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-05-23 20:54:39 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-05-23 20:54:39 +0000
commitee4dcae9ba4175b62b139cd63b5b5532e4d56197 (patch)
tree452180905f9f2af17f07b4e094e2df7763fa1193
parent23257069b61981d261779d55c8c71b9769eae3e4 (diff)
downloadbcm5719-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.h2
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...
OpenPOWER on IntegriCloud