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
This commit is contained in:
Alkis Evlogimenos 2004-05-23 20:54:39 +00:00
parent 37a64d00a7
commit b8938f3fec

View File

@ -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...