diff options
author | Andrew Trick <atrick@apple.com> | 2010-10-22 23:33:19 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2010-10-22 23:33:19 +0000 |
commit | f4331060548004471f5bb10e330ba4ce4de28ad2 (patch) | |
tree | 91997398e8bef29bc0562da5ac9e5bf8961cf3d1 /lib/CodeGen/RegAllocBase.h | |
parent | 313252022d1612faab610e682ea0d03789506934 (diff) |
Nonvirtual dtor that was accessible enough to be bad.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | lib/CodeGen/RegAllocBase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h index a972fbf1108..d54363536f0 100644 --- a/lib/CodeGen/RegAllocBase.h +++ b/lib/CodeGen/RegAllocBase.h @@ -87,6 +87,8 @@ protected: RegAllocBase(): tri_(0), vrm_(0), lis_(0) {} + virtual ~RegAllocBase() {} + // A RegAlloc pass should call this before allocatePhysRegs. void init(const TargetRegisterInfo &tri, VirtRegMap &vrm, LiveIntervals &lis); |