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 | e8719c51aa126b4243f03f9f31f481e73ef77bdf (patch) | |
| tree | da6f3d52c003876adb51d3266377ac02ca911e98 /llvm | |
| parent | 65a0e595e6083f79a8da82cef6902f7ded899c13 (diff) | |
| download | bcm5719-llvm-e8719c51aa126b4243f03f9f31f481e73ef77bdf.tar.gz bcm5719-llvm-e8719c51aa126b4243f03f9f31f481e73ef77bdf.zip | |
Nonvirtual dtor that was accessible enough to be bad.
llvm-svn: 117180
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocBase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.h b/llvm/lib/CodeGen/RegAllocBase.h index a972fbf1108..d54363536f0 100644 --- a/llvm/lib/CodeGen/RegAllocBase.h +++ b/llvm/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); |

