mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aab56d4b90
commit
14d2638e38
@ -71,8 +71,6 @@ class AllocationInst;
|
|||||||
|
|
||||||
template<typename SubClass, typename RetTy=void>
|
template<typename SubClass, typename RetTy=void>
|
||||||
struct InstVisitor {
|
struct InstVisitor {
|
||||||
virtual ~InstVisitor() {} // We are meant to be derived from
|
|
||||||
|
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// Interface code - This is the public interface of the InstVisitor that you
|
// Interface code - This is the public interface of the InstVisitor that you
|
||||||
// use to visit instructions...
|
// use to visit instructions...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user