mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 11:17:31 +00:00
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:
parent
37a64d00a7
commit
b8938f3fec
@ -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...
|
||||
|
Loading…
x
Reference in New Issue
Block a user